Rafael Winterhalter 7/18/2013

Extending Guava caches to overflow to disk

Read Original

This technical article details how to create a FilePersistingCache wrapper for Google Guava caches to add disk overflow functionality. It addresses limitations with Ehcache for scenarios requiring both disk persistence and fine-grained cache invalidation. The tutorial includes code examples for implementing a custom RemovalListener and CacheLoader to handle persisting and loading values from disk.

Extending Guava caches to overflow to disk

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser