Uses of Class
org.glassfish.jersey.internal.guava.CacheBuilder
Packages that use CacheBuilder
-
Uses of CacheBuilder in org.glassfish.jersey.internal.guava
Methods in org.glassfish.jersey.internal.guava that return CacheBuilderModifier and TypeMethodDescriptionCacheBuilder.expireAfterAccess
(long duration, TimeUnit unit) Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.CacheBuilder.maximumSize
(long size) Specifies the maximum number of entries the cache may contain.static CacheBuilder<Object,
Object> CacheBuilder.newBuilder()
Constructs a newCacheBuilder
instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.