Uses of Class
org.docx4j.com.google.common.cache.CacheBuilder

Packages that use CacheBuilder 
Package Description
org.docx4j.com.google.common.cache  
  • Uses of CacheBuilder in org.docx4j.com.google.common.cache

    Methods in org.docx4j.com.google.common.cache that return CacheBuilder 
    Modifier and Type Method Description
    CacheBuilder<K,​V> CacheBuilder.concurrencyLevel​(int concurrencyLevel)
    Guides the allowed concurrency among update operations.
    CacheBuilder<K,​V> CacheBuilder.expireAfterAccess​(long duration, java.util.concurrent.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<K,​V> CacheBuilder.expireAfterAccess​(java.time.Duration duration)
    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<K,​V> CacheBuilder.expireAfterWrite​(long duration, java.util.concurrent.TimeUnit unit)
    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    CacheBuilder<K,​V> CacheBuilder.expireAfterWrite​(java.time.Duration duration)
    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    CacheBuilder<K,​V> CacheBuilder.initialCapacity​(int initialCapacity)
    Sets the minimum total size for the internal hash tables.
    CacheBuilder<K,​V> CacheBuilder.maximumSize​(long maximumSize)
    Specifies the maximum number of entries the cache may contain.
    CacheBuilder<K,​V> CacheBuilder.maximumWeight​(long maximumWeight)
    Specifies the maximum weight of entries the cache may contain.
    static CacheBuilder<java.lang.Object,​java.lang.Object> CacheBuilder.newBuilder()
    Constructs a new CacheBuilder instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.
    CacheBuilder<K,​V> CacheBuilder.recordStats()
    Enable the accumulation of CacheStats during the operation of the cache.
    CacheBuilder<K,​V> CacheBuilder.refreshAfterWrite​(long duration, java.util.concurrent.TimeUnit unit)
    Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    CacheBuilder<K,​V> CacheBuilder.refreshAfterWrite​(java.time.Duration duration)
    Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    <K1 extends K,​ V1 extends V>
    CacheBuilder<K1,​V1>
    CacheBuilder.removalListener​(RemovalListener<? super K1,​? super V1> listener)
    Specifies a listener instance that caches should notify each time an entry is removed for any reason.
    CacheBuilder<K,​V> CacheBuilder.softValues()
    Specifies that each value (not key) stored in the cache should be wrapped in a SoftReference (by default, strong references are used).
    CacheBuilder<K,​V> CacheBuilder.ticker​(Ticker ticker)
    Specifies a nanosecond-precision time source for this cache.
    CacheBuilder<K,​V> CacheBuilder.weakKeys()
    Specifies that each key (not value) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
    CacheBuilder<K,​V> CacheBuilder.weakValues()
    Specifies that each value (not key) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
    <K1 extends K,​ V1 extends V>
    CacheBuilder<K1,​V1>
    CacheBuilder.weigher​(Weigher<? super K1,​? super V1> weigher)
    Specifies the weigher to use in determining the weight of entries.