Reputation: 3207
I would like to know the default expiration policy of Guava caching. My need is , write once and read many times. The cache should never expire. Is this the default behavior of Guava ?
Upvotes: 12
Views: 10175
Reputation: 2520
Assuming you are talking about CacheBuilder
From the Google docs
By default cache instances created by CacheBuilder will not perform any type of eviction.
Upvotes: 21