A C D E F G H I J L N O P R S T U V W 
All Classes All Packages

A

AbstractCopier<A> - Class in com.github.benmanes.caffeine.jcache.copy
A skeleton implementation where subclasses provide the serialization strategy.
AbstractCopier() - Constructor for class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
 
AbstractCopier(Set<Class<?>>, Map<Class<?>, Function<Object, Object>>) - Constructor for class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
 
Action - Enum in com.github.benmanes.caffeine.jcache.processor
The dominant action that was performed on the entry during processing.
addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
awaitSynchronous() - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Blocks until all of the synchronous listeners have finished processing the events this thread published.

C

cache - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
cacheLoader - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
CacheManagerImpl - Class in com.github.benmanes.caffeine.jcache
An implementation of JSR-107 CacheManager that manages Caffeine-based caches.
CacheManagerImpl(CachingProvider, boolean, URI, ClassLoader, Properties) - Constructor for class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
cacheNames(Config) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Retrieves the names of the caches defined in the configuration resource.
CacheProxy<K,​V> - Class in com.github.benmanes.caffeine.jcache
An implementation of JSR-107 Cache backed by a Caffeine cache.
CacheProxy(String, Executor, CacheManager, CaffeineConfiguration<K, V>, Cache<K, Expirable<V>>, EventDispatcher<K, V>, Optional<CacheLoader<K, V>>, ExpiryPolicy, Ticker, JCacheStatisticsMXBean) - Constructor for class com.github.benmanes.caffeine.jcache.CacheProxy
 
CacheProxy.NullCompletionListener - Enum in com.github.benmanes.caffeine.jcache
 
CaffeineCachingProvider - Class in com.github.benmanes.caffeine.jcache.spi
A provider that produces a JCache implementation backed by Caffeine.
CaffeineCachingProvider() - Constructor for class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
CaffeineConfiguration<K,​V> - Class in com.github.benmanes.caffeine.jcache.configuration
A JCache configuration with Caffeine specific settings.
CaffeineConfiguration() - Constructor for class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
CaffeineConfiguration(CompleteConfiguration<K, V>) - Constructor for class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns a modifiable copy of the configuration.
canDeeplyCopy(Class<?>) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Returns if the class has a known deep copy strategy.
ClassLoaderAwareObjectInputStream(InputStream, ClassLoader) - Constructor for class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier.ClassLoaderAwareObjectInputStream
 
clear() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
clear() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
close() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
close() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
close() - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
close(ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
close(URI, ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
com.github.benmanes.caffeine.jcache - package com.github.benmanes.caffeine.jcache
 
com.github.benmanes.caffeine.jcache.configuration - package com.github.benmanes.caffeine.jcache.configuration
 
com.github.benmanes.caffeine.jcache.copy - package com.github.benmanes.caffeine.jcache.copy
 
com.github.benmanes.caffeine.jcache.event - package com.github.benmanes.caffeine.jcache.event
 
com.github.benmanes.caffeine.jcache.expiry - package com.github.benmanes.caffeine.jcache.expiry
 
com.github.benmanes.caffeine.jcache.integration - package com.github.benmanes.caffeine.jcache.integration
 
com.github.benmanes.caffeine.jcache.management - package com.github.benmanes.caffeine.jcache.management
 
com.github.benmanes.caffeine.jcache.processor - package com.github.benmanes.caffeine.jcache.processor
 
com.github.benmanes.caffeine.jcache.spi - package com.github.benmanes.caffeine.jcache.spi
 
configSource() - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Returns the strategy for loading the configuration.
ConfigSource - Interface in com.github.benmanes.caffeine.jcache.configuration
A provider for the external configuration.
Configuration - com.github.benmanes.caffeine.jcache.management.JmxRegistration.MBeanType
 
containsKey(K) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
Copier - Interface in com.github.benmanes.caffeine.jcache.copy
An object is copied when the cache is configured with storeByValue to guard against mutations of the key or value.
copy(T, ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
 
copy(T, ClassLoader) - Method in interface com.github.benmanes.caffeine.jcache.copy.Copier
Returns a deep copy of the object.
copyMap(Map<K, Expirable<V>>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns a deep copy of the map if value-based caching is enabled.
copyOf(T) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns a copy of the value if value-based caching is enabled.
copyValue(Expirable<V>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns a copy of the value if value-based caching is enabled.
createCache(String, C) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
CREATED - com.github.benmanes.caffeine.jcache.processor.Action
The entry did not exist and was created.
currentTimeMillis() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns the current time in milliseconds.

D

defaults(Config) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Retrieves the default cache settings from the configuration resource.
delete(Object) - Method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
 
deleteAll(Collection<?>) - Method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
 
DELETED - com.github.benmanes.caffeine.jcache.processor.Action
The entry existed and was deleted.
deregister(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Deregisters a cache entry listener based on the supplied configuration.
deregisterCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
deserialize(byte[], ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier
 
deserialize(A, ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Deserializes the data using the provided classloader.
destroyCache(String) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
DisabledCacheWriter - Enum in com.github.benmanes.caffeine.jcache.integration
A cache writer that does nothing.
dispatcher - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 

E

enable(boolean) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Sets whether the statistic collection is enabled.
enableManagement(String, boolean) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
enableStatistics(String, boolean) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
EntryProcessorEntry<K,​V> - Class in com.github.benmanes.caffeine.jcache.processor
An entry that is consumed by an EntryProcessor.
EntryProcessorEntry(K, V, Optional<CacheLoader<K, V>>) - Constructor for class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
EntryProxy<K,​V> - Class in com.github.benmanes.caffeine.jcache
An implementation of JSR-107 Cache.Entry.
equals(Object) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
equals(Object) - Method in class com.github.benmanes.caffeine.jcache.event.Registration
 
equals(Object) - Method in class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 
EventDispatcher<K,​V> - Class in com.github.benmanes.caffeine.jcache.event
A dispatcher that publishes cache events to listeners for asynchronous execution.
EventDispatcher(Executor) - Constructor for class com.github.benmanes.caffeine.jcache.event.EventDispatcher
 
executor - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
exists() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
Expirable<V> - Class in com.github.benmanes.caffeine.jcache
A value with an expiration timestamp.
Expirable(V, long) - Constructor for class com.github.benmanes.caffeine.jcache.Expirable
 

F

FactoryCreator - Interface in com.github.benmanes.caffeine.jcache.configuration
An object capable of providing factories that produce an instance for a given class name.
factoryOf(String) - Method in interface com.github.benmanes.caffeine.jcache.configuration.FactoryCreator
Returns a Factory that will produce instances of the specified class.
from(Config, String) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Retrieves the cache's settings from the configuration resource if defined.

G

get() - Method in class com.github.benmanes.caffeine.jcache.Expirable
Returns the value.
get() - Static method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
Returns a disabled cache writer.
get(URI, ClassLoader) - Method in interface com.github.benmanes.caffeine.jcache.configuration.ConfigSource
Returns a Config that provides the cache configurations.
get(K) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
get(K) - Method in class com.github.benmanes.caffeine.jcache.LoadingCacheProxy
 
getAction() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
Returns the dominant action performed by the processor on the entry.
getAll(Set<? extends K>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getAll(Set<? extends K>) - Method in class com.github.benmanes.caffeine.jcache.LoadingCacheProxy
 
getAndFilterExpiredEntries(Set<? extends K>, boolean) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns all of the mappings present, expiring as required, and optionally updates their access expiry time.
getAndPut(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getAndRemove(K) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getAndReplace(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getAverageGetTime() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getAveragePutTime() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getAverageRemoveTime() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCache(String) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getCache(String, Class<K>, Class<V>) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getCacheEntryFilter() - Method in class com.github.benmanes.caffeine.jcache.event.Registration
Returns the registered filter.
getCacheEntryListener() - Method in class com.github.benmanes.caffeine.jcache.event.Registration
Returns the registered listener.
getCacheEntryListenerConfigurations() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getCacheEvictions() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheGets() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheHitPercentage() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheHits() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheLoaderFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getCacheManager() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getCacheManager() - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getCacheManager(URI, ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getCacheManager(URI, ClassLoader, Properties) - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getCacheMisses() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheMissPercentage() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheNames() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getCachePuts() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheRemovals() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
getCacheWriter() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns a writer created by the configured factory or null if not set.
getCacheWriterFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getCachingProvider() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getClassLoader() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getClassLoader() - Method in class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier.ClassLoaderAwareObjectInputStream
 
getConfiguration() - Method in class com.github.benmanes.caffeine.jcache.event.Registration
Returns the configuration.
getConfiguration(Class<C>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getCopierFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Copier to be used for the cache.
getDefaultClassLoader() - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getDefaultProperties() - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getDefaultURI() - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
getExecutorFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Executor to be used for the cache.
getExpireAfterAccess() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the expire after access in nanoseconds.
getExpireAfterWrite() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the expire after write in nanoseconds.
getExpireTimeMS() - Method in class com.github.benmanes.caffeine.jcache.Expirable
Returns the time, in milliseconds, when the value will expire.
getExpiryFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Expiry to be used for the cache.
getExpiryForAccess() - Method in class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 
getExpiryForCreation() - Method in class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 
getExpiryForUpdate() - Method in class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 
getExpiryPolicyFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getKey() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
getKeyType() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getKeyType() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
getMaximumSize() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the maximum size to be used for the cache.
getMaximumWeight() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the maximum weight to be used for the cache.
getName() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
getProperties() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getRefreshAfterWrite() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the refresh after write in nanoseconds.
getSchedulerFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Scheduler to be used for the cache.
getTickerFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Ticker to be used for the cache.
getURI() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
getValue() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
getValueType() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
getValueType() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
getWeigherFactory() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns the Factory for the Weigher to be used for the cache.
getWriteExpireTimeMS(boolean) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns the time when the entry will expire.

H

hasCacheWriter() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns if the cache writer factory is specified.
hasExpired(long) - Method in class com.github.benmanes.caffeine.jcache.Expirable
Returns if the value has expired and is eligible for eviction.
hashCode() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
hashCode() - Method in class com.github.benmanes.caffeine.jcache.event.Registration
 
hashCode() - Method in class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 

I

identity() - Static method in interface com.github.benmanes.caffeine.jcache.copy.Copier
Return a copy strategy that performs an identity function, for use by store-by-reference.
ignoreSynchronous() - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Ignores and clears the queued futures to the synchronous listeners that are processing events this thread published.
immutableCopy() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Returns an unmodifiable copy of this configuration.
inFlight - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
INSTANCE - com.github.benmanes.caffeine.jcache.CacheProxy.NullCompletionListener
 
INSTANCE - com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
 
invoke(K, EntryProcessor<K, V, T>, Object...) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
invokeAll(Set<? extends K>, EntryProcessor<K, V, T>, Object...) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
isClosed() - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
isClosed() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
isEnabled() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Returns if statistic collection is enabled.
isEternal() - Method in class com.github.benmanes.caffeine.jcache.Expirable
Returns if the value will never expire.
isImmutable(Class<?>) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Returns if the class is an immutable type and does not need to be copied.
isManagementEnabled() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
isManagementEnabled() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
isNativeStatisticsEnabled() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Checks whether native statistics collection is enabled in this cache.
isReadThrough() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
isReadThrough() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
isStatisticsEnabled() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
isStatisticsEnabled() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
isStoreByValue() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
isStoreByValue() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
isSupported(OptionalFeature) - Method in class com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
 
isSynchronous() - Method in class com.github.benmanes.caffeine.jcache.event.Registration
isWriteThrough() - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
 
isWriteThrough() - Method in class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
iterator() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 

J

javaDeepCopyStrategies() - Static method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Returns the set of Java native classes that are deeply copied.
javaImmutableClasses() - Static method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Returns the set of Java native classes that are immutable.
JavaSerializationCopier - Class in com.github.benmanes.caffeine.jcache.copy
A strategy that uses Java serialization if a fast path approach is not applicable.
JavaSerializationCopier() - Constructor for class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier
 
JavaSerializationCopier(Set<Class<?>>, Map<Class<?>, Function<Object, Object>>) - Constructor for class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier
 
JavaSerializationCopier.ClassLoaderAwareObjectInputStream - Class in com.github.benmanes.caffeine.jcache.copy
An ObjectInputStream that instantiates using the supplied classloader.
JCacheEvictionListener<K,​V> - Class in com.github.benmanes.caffeine.jcache.event
A listener that provides an adapter to publish events in the order of the actions being performed on a key.
JCacheEvictionListener(EventDispatcher<K, V>, JCacheStatisticsMXBean) - Constructor for class com.github.benmanes.caffeine.jcache.event.JCacheEvictionListener
 
JCacheExpiryPolicy - Class in com.github.benmanes.caffeine.jcache.expiry
A customized expiration policy.
JCacheExpiryPolicy(Duration, Duration, Duration) - Constructor for class com.github.benmanes.caffeine.jcache.expiry.JCacheExpiryPolicy
 
JCacheLoaderAdapter<K,​V> - Class in com.github.benmanes.caffeine.jcache.integration
An adapter from a JCache cache loader to Caffeine's.
JCacheLoaderAdapter(CacheLoader<K, V>, EventDispatcher<K, V>, ExpiryPolicy, Ticker, JCacheStatisticsMXBean) - Constructor for class com.github.benmanes.caffeine.jcache.integration.JCacheLoaderAdapter
 
JCacheMXBean - Class in com.github.benmanes.caffeine.jcache.management
The Caffeine JCache management bean.
JCacheMXBean(Cache<?, ?>) - Constructor for class com.github.benmanes.caffeine.jcache.management.JCacheMXBean
 
JCacheStatisticsMXBean - Class in com.github.benmanes.caffeine.jcache.management
Caffeine JCache statistics.
JCacheStatisticsMXBean() - Constructor for class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
 
JmxRegistration - Class in com.github.benmanes.caffeine.jcache.management
Jmx cache utilities.
JmxRegistration.MBeanType - Enum in com.github.benmanes.caffeine.jcache.management
 

L

load(K) - Method in class com.github.benmanes.caffeine.jcache.integration.JCacheLoaderAdapter
 
loadAll(Set<? extends K>) - Method in class com.github.benmanes.caffeine.jcache.integration.JCacheLoaderAdapter
 
loadAll(Set<? extends K>, boolean, CompletionListener) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
loadAll(Set<? extends K>, boolean, CompletionListener) - Method in class com.github.benmanes.caffeine.jcache.LoadingCacheProxy
 
LOADED - com.github.benmanes.caffeine.jcache.processor.Action
The entry exists and had to be loaded into the cache.
LoadingCacheProxy<K,​V> - Class in com.github.benmanes.caffeine.jcache
An implementation of JSR-107 Cache backed by a Caffeine loading cache.
LoadingCacheProxy(String, Executor, CacheManager, CaffeineConfiguration<K, V>, LoadingCache<K, Expirable<V>>, EventDispatcher<K, V>, CacheLoader<K, V>, ExpiryPolicy, Ticker, JCacheStatisticsMXBean) - Constructor for class com.github.benmanes.caffeine.jcache.LoadingCacheProxy
 

N

nanosToMillis(long) - Static method in class com.github.benmanes.caffeine.jcache.CacheProxy
Returns the nanosecond time in milliseconds.
NONE - com.github.benmanes.caffeine.jcache.processor.Action
The entry was neither read nor written to.

O

onCompletion() - Method in enum com.github.benmanes.caffeine.jcache.CacheProxy.NullCompletionListener
 
onException(Exception) - Method in enum com.github.benmanes.caffeine.jcache.CacheProxy.NullCompletionListener
 
onRemoval(K, Expirable<V>, RemovalCause) - Method in class com.github.benmanes.caffeine.jcache.event.JCacheEvictionListener
 

P

publishCreated(Cache<K, V>, K, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes a creation event for the entry to the interested listeners.
publishExpired(Cache<K, V>, K, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes an expiration event for the entry to the interested listeners.
publishExpiredQuietly(Cache<K, V>, K, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes an expiration event for the entry to the interested listeners.
publishRemoved(Cache<K, V>, K, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes a removal event for the entry to the interested listeners.
publishRemovedQuietly(Cache<K, V>, K, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes a removal event for the entry to the interested listeners.
publishUpdated(Cache<K, V>, K, V, V) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Publishes an update event for the entry to the interested listeners.
put(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
putAll(Map<? extends K, ? extends V>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
putIfAbsent(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
putNoCopyOrAwait(K, V, boolean) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Associates the specified value with the specified key in the cache.

R

READ - com.github.benmanes.caffeine.jcache.processor.Action
The entry exists, was read, and never mutated.
recordEvictions(@org.checkerframework.checker.index.qual.NonNegative long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records cache evictions.
recordGetTime(long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records the time to execute get operations.
recordHits(@org.checkerframework.checker.index.qual.NonNegative long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records cache hits.
recordMisses(@org.checkerframework.checker.index.qual.NonNegative long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records cache misses.
recordPuts(@org.checkerframework.checker.index.qual.NonNegative long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records cache insertion and updates.
recordPutTime(long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records the time to execute put operations.
recordRemovals(@org.checkerframework.checker.index.qual.NonNegative long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records cache removals.
recordRemoveTime(long) - Method in class com.github.benmanes.caffeine.jcache.management.JCacheStatisticsMXBean
Records the time to execute remove operations.
register(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Registers a cache entry listener based on the supplied configuration.
registerCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
registerMXBean(Cache<?, ?>, Object, JmxRegistration.MBeanType) - Static method in class com.github.benmanes.caffeine.jcache.management.JmxRegistration
Registers the JMX management bean for the cache.
Registration<K,​V> - Class in com.github.benmanes.caffeine.jcache.event
The registration of a CacheEntryListener for event dispatching.
Registration(CacheEntryListenerConfiguration<K, V>, CacheEntryEventFilter<K, V>, EventTypeAwareListener<K, V>) - Constructor for class com.github.benmanes.caffeine.jcache.event.Registration
 
registrations() - Method in class com.github.benmanes.caffeine.jcache.event.EventDispatcher
Returns the cache entry listener registrations.
remove() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
remove(K) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
remove(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
removeAll() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
removeAll(Set<? extends K>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
replace(K, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
replace(K, V, V) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
requireNotClosed() - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Checks that the cache is not closed.
resolveClass(ObjectStreamClass) - Method in class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier.ClassLoaderAwareObjectInputStream
 
roundtrip(T, ClassLoader) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Performs the serialization and deserialization, returning the copied object.

S

serialize(Object) - Method in class com.github.benmanes.caffeine.jcache.copy.AbstractCopier
Serializes the object.
serialize(Object) - Method in class com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopier
 
setAccessExpirationTime(K, Expirable<?>, long) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
Sets the access expiration time.
setCache(CacheProxy<K, V>) - Method in class com.github.benmanes.caffeine.jcache.integration.JCacheLoaderAdapter
Sets the cache instance that was created with this loader.
setCache(Cache<K, V>) - Method in class com.github.benmanes.caffeine.jcache.event.JCacheEvictionListener
Sets the cache instance that was created with this listener.
setCacheLoaderFactory(Factory<? extends CacheLoader<K, V>>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setCacheWriterFactory(Factory<? extends CacheWriter<? super K, ? super V>>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setConfigSource(ConfigSource) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Specifies how the Config instance should be loaded.
setConfigSource(Supplier<Config>) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Specifies how the Config instance should be loaded.
setCopierFactory(Factory<Copier>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Copier.
setExecutorFactory(Factory<Executor>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Executor.
setExpireAfterAccess(OptionalLong) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the expire after write in nanoseconds.
setExpireAfterWrite(OptionalLong) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the expire after write in nanoseconds.
setExpireTimeMS(long) - Method in class com.github.benmanes.caffeine.jcache.Expirable
Specifies the time, in milliseconds, when the value will expire.
setExpiryFactory(Optional<Factory<? extends Expiry<K, V>>>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Expiry.
setExpiryPolicyFactory(Factory<? extends ExpiryPolicy>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setFactoryCreator(FactoryCreator) - Static method in class com.github.benmanes.caffeine.jcache.configuration.TypesafeConfigurator
Specifies how Factory instances are created for a given class name.
setManagementEnabled(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setMaximumSize(OptionalLong) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the maximum size.
setMaximumWeight(OptionalLong) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the maximum weight.
setNativeStatisticsEnabled(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Sets whether native statistics gathering is enabled on a cache.
setReadThrough(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setRefreshAfterWrite(OptionalLong) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the refresh after write in nanoseconds.
setSchedulerFactory(Factory<Scheduler>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Scheduler.
setStatisticsEnabled(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setStoreByValue(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setTickerFactory(Factory<Ticker>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Ticker.
setTypes(Class<K>, Class<V>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
setValue(V) - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
setWeigherFactory(Optional<Factory<? extends Weigher<K, V>>>) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Set the Factory for the Weigher.
setWriteThrough(boolean) - Method in class com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
statistics - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
Statistics - com.github.benmanes.caffeine.jcache.management.JmxRegistration.MBeanType
 

T

ticker - Variable in class com.github.benmanes.caffeine.jcache.CacheProxy
 
toString() - Method in class com.github.benmanes.caffeine.jcache.Expirable
 
toString() - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
TypesafeConfigurator - Class in com.github.benmanes.caffeine.jcache.configuration
Static utility methods pertaining to externalized CaffeineConfiguration entries using the Typesafe Config library.

U

unregisterMXBean(Cache<?, ?>, JmxRegistration.MBeanType) - Static method in class com.github.benmanes.caffeine.jcache.management.JmxRegistration
Unregisters the JMX management bean for the cache.
unwrap(Class<T>) - Method in class com.github.benmanes.caffeine.jcache.CacheManagerImpl
 
unwrap(Class<T>) - Method in class com.github.benmanes.caffeine.jcache.CacheProxy
 
unwrap(Class<T>) - Method in class com.github.benmanes.caffeine.jcache.EntryProxy
 
unwrap(Class<T>) - Method in class com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry
 
UPDATED - com.github.benmanes.caffeine.jcache.processor.Action
The entry exists and was updated.

V

valueOf(String) - Static method in enum com.github.benmanes.caffeine.jcache.CacheProxy.NullCompletionListener
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.jcache.management.JmxRegistration.MBeanType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.jcache.processor.Action
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.benmanes.caffeine.jcache.CacheProxy.NullCompletionListener
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.jcache.management.JmxRegistration.MBeanType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.jcache.processor.Action
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Cache.Entry<?, ?>) - Method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
 
writeAll(Collection<Cache.Entry<?, ?>>) - Method in enum com.github.benmanes.caffeine.jcache.integration.DisabledCacheWriter
 
A C D E F G H I J L N O P R S T U V W 
All Classes All Packages