- Cache<K,V> - Interface in org.ehcache
-
Defines all operational methods to create, access, update and delete mappings of key to value.
- Cache.Entry<K,V> - Interface in org.ehcache
-
A mapping of key to value held in a
Cache
.
- cacheAdded(String, Cache<?, ?>) - Method in interface org.ehcache.core.events.CacheManagerListener
-
- CacheConfiguration<K,V> - Interface in org.ehcache.config
-
Represents the minimal configuration for a
Cache
.
- CacheConfigurationBuilder<K,V> - Class in org.ehcache.config.builders
-
- CacheEvent<K,V> - Interface in org.ehcache.event
-
An event resulting from a mutative
Cache
operation.
- CacheEventDispatcher<K,V> - Interface in org.ehcache.core.events
-
- CacheEventDispatcherFactory - Interface in org.ehcache.core.events
-
- CacheEventListener<K,V> - Interface in org.ehcache.event
-
Definition of the contract for implementing listeners to receive
CacheEvent
s from a
Cache
.
- CacheEventListenerConfiguration<R> - Interface in org.ehcache.core.events
-
Configuration contract for setting up
CacheEvent
system in a cache.
- CacheEventListenerConfigurationBuilder - Class in org.ehcache.config.builders
-
- CacheEventListenerProvider - Interface in org.ehcache.core.events
-
- CacheEvents - Class in org.ehcache.core.events
-
Utility class for the creation of
CacheEvent
instances.
- CacheIterationException - Exception in org.ehcache
-
Indicates an unrecoverable failure occurred during iteration.
- CacheIterationException() - Constructor for exception org.ehcache.CacheIterationException
-
Creates a CacheIterationException
.
- CacheIterationException(String) - Constructor for exception org.ehcache.CacheIterationException
-
Creates a CacheIterationException
with the provided message.
- CacheIterationException(String, Throwable) - Constructor for exception org.ehcache.CacheIterationException
-
Creates a CacheIterationException
with the provided message and cause.
- CacheIterationException(Throwable) - Constructor for exception org.ehcache.CacheIterationException
-
Creates a CacheIterationException
with the provided cause.
- CacheLoaderWriter<K,V> - Interface in org.ehcache.spi.loaderwriter
-
A CacheLoaderWriter is used to keep a
Cache
in sync with another system.
- CacheLoaderWriterConfiguration<R> - Interface in org.ehcache.spi.loaderwriter
-
- CacheLoaderWriterProvider - Interface in org.ehcache.spi.loaderwriter
-
- CacheLoadingException - Exception in org.ehcache.spi.loaderwriter
-
- CacheLoadingException() - Constructor for exception org.ehcache.spi.loaderwriter.CacheLoadingException
-
Constructs a CacheLoadingException
.
- CacheLoadingException(String) - Constructor for exception org.ehcache.spi.loaderwriter.CacheLoadingException
-
Constructs a CacheLoadingException
with the provided message.
- CacheLoadingException(String, Throwable) - Constructor for exception org.ehcache.spi.loaderwriter.CacheLoadingException
-
Constructs a CacheLoadingException
wrapping the cause
passed in
and with the provided message.
- CacheLoadingException(Throwable) - Constructor for exception org.ehcache.spi.loaderwriter.CacheLoadingException
-
Constructs a CacheLoadingException
wrapping the cause
passed in.
- CacheManager - Interface in org.ehcache
-
- CacheManagerBuilder<T extends CacheManager> - Class in org.ehcache.config.builders
-
The CacheManagerBuilder
enables building cache managers using a fluent style.
- CacheManagerConfiguration<T extends CacheManager> - Interface in org.ehcache.config.builders
-
- CacheManagerListener - Interface in org.ehcache.core.events
-
Interface for listeners interested in
CacheManager
Cache
related events, such as
addition and removal.
- CacheManagerProviderService - Interface in org.ehcache.core.spi.service
-
Special service that services can depend onto to be able to recover the instance of the current
CacheManager
- CacheOperationOutcomes - Interface in org.ehcache.core.statistics
-
CacheOperationOutcomes
- CacheOperationOutcomes.ClearOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for cache Clear operations.
- CacheOperationOutcomes.ConditionalRemoveOutcome - Enum in org.ehcache.core.statistics
-
The outcomes for conditional remove operations.
- CacheOperationOutcomes.GetAllOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for cache getAll operation
- CacheOperationOutcomes.GetOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for cache Get operations.
- CacheOperationOutcomes.PutAllOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for cache putAll operation
- CacheOperationOutcomes.PutIfAbsentOutcome - Enum in org.ehcache.core.statistics
-
The putIfAbsent outcomes.
- CacheOperationOutcomes.PutOutcome - Enum in org.ehcache.core.statistics
-
The outcomes for Put Outcomes.
- CacheOperationOutcomes.RemoveAllOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for cache removeAll operation
- CacheOperationOutcomes.RemoveOutcome - Enum in org.ehcache.core.statistics
-
The outcomes for remove operations.
- CacheOperationOutcomes.ReplaceOutcome - Enum in org.ehcache.core.statistics
-
The replace outcomes.
- CachePersistenceException - Exception in org.ehcache
-
- CachePersistenceException(String) - Constructor for exception org.ehcache.CachePersistenceException
-
Creates a CachePersistenceException
with the provided message.
- CachePersistenceException(String, Throwable) - Constructor for exception org.ehcache.CachePersistenceException
-
Creates a CachePersistenceException
with the provided message and cause.
- cacheRemoved(String, Cache<?, ?>) - Method in interface org.ehcache.core.events.CacheManagerListener
-
- CacheRuntimeConfiguration<K,V> - Interface in org.ehcache.config
-
Represents the configuration currently used by a
Cache
.
- CacheStatistics - Interface in org.ehcache.core.statistics
-
All statistics relative to a cache and its underlying tiers.
- CacheWritingException - Exception in org.ehcache.spi.loaderwriter
-
- CacheWritingException() - Constructor for exception org.ehcache.spi.loaderwriter.CacheWritingException
-
Constructs a CacheWritingException
.
- CacheWritingException(String) - Constructor for exception org.ehcache.spi.loaderwriter.CacheWritingException
-
Constructs a CacheWritingException
with the provided message.
- CacheWritingException(String, Throwable) - Constructor for exception org.ehcache.spi.loaderwriter.CacheWritingException
-
Constructs a CacheWritingException
wrapping the cause
passed in
and with the provided message.
- CacheWritingException(Throwable) - Constructor for exception org.ehcache.spi.loaderwriter.CacheWritingException
-
Constructs a CacheWritingException
wrapping the cause
passed in.
- CachingTier<K,V> - Interface in org.ehcache.core.spi.store.tiering
-
- CachingTier.InvalidationListener<K,V> - Interface in org.ehcache.core.spi.store.tiering
-
Caching tier invalidation listener.
- CachingTier.Provider - Interface in org.ehcache.core.spi.store.tiering
-
- CachingTierOperationOutcomes - Interface in org.ehcache.core.statistics
-
CachingTierOperationOutcomes
- CachingTierOperationOutcomes.GetOrComputeIfAbsentOutcome - Enum in org.ehcache.core.statistics
-
the getOrComputeIfAbsent outcomes
- CachingTierOperationOutcomes.InvalidateAllOutcome - Enum in org.ehcache.core.statistics
-
the invalidateAll outcomes
- CachingTierOperationOutcomes.InvalidateAllWithHashOutcome - Enum in org.ehcache.core.statistics
-
the invalidateAllWithHash outcomes
- CachingTierOperationOutcomes.InvalidateOutcome - Enum in org.ehcache.core.statistics
-
the invalidate outcomes
- ChainedObserver - Interface in org.ehcache.core.statistics
-
- ChainedOperationObserver<T extends java.lang.Enum<T>> - Interface in org.ehcache.core.statistics
-
- CharSerializer - Class in org.ehcache.impl.serialization
-
- CharSerializer() - Constructor for class org.ehcache.impl.serialization.CharSerializer
-
No arg constructor
- CharSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.CharSerializer
-
Constructor to enable this serializer as a transient one.
- cleanForNode(Object) - Method in interface org.ehcache.core.spi.service.StatisticsService
-
Clears all associations
- clear() - Method in interface org.ehcache.Cache
-
Removes all mappings currently present in the Cache
.
- clear() - Method in interface org.ehcache.core.spi.store.Store
-
Removes all of the mappings from this Store
.
- clear() - Method in interface org.ehcache.core.spi.store.tiering.CachingTier
-
Empty out the caching tier.
- clear() - Method in interface org.ehcache.core.spi.store.tiering.LowerCachingTier
-
Empty out this tier
- clear() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
Reset the values for this cache and its underlying tiers.
- clear() - Method in interface org.ehcache.core.statistics.TierStatistics
-
Reset the values for this tier.
- clearAllServiceConfig() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- clearFailure(StoreAccessException) - Method in interface org.ehcache.spi.resilience.ResilienceStrategy
-
Called when a
Cache.clear()
fails due to an underlying store
failure.
- close() - Method in interface org.ehcache.CacheManager
-
- close() - Method in interface org.ehcache.UserManagedCache
-
- CompactJavaSerializer<T> - Class in org.ehcache.impl.serialization
-
A trivially compressed Java serialization based serializer.
- CompactJavaSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.CompactJavaSerializer
-
Constructor to enable this serializer as a transient one.
- compareTo(long, long, ResourceUnit) - Method in interface org.ehcache.config.ResourceUnit
-
Compares thisSize
in this unit to thatSize
in thatUnit
.
- compareTo(long, long, ResourceUnit) - Method in enum org.ehcache.config.units.MemoryUnit
-
Compares thisSize
in this unit to thatSize
in thatUnit
.
- compatibleWith(ServiceConfiguration<?, ?>) - Method in interface org.ehcache.spi.service.ServiceConfiguration
-
Returns true if this configuration can co-exist with other
in the same cache configuration.
- compatibleWith(ServiceCreationConfiguration<?, ?>) - Method in interface org.ehcache.spi.service.ServiceCreationConfiguration
-
Returns true if this configuration can co-exist with other
in the same manager configuration.
- computeAndGet(K, BiFunction<? super K, ? super V, ? extends V>, Supplier<Boolean>, Supplier<Boolean>) - Method in interface org.ehcache.core.spi.store.Store
-
Compute the value for the given key by invoking the given function to produce the value.
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in interface org.ehcache.core.spi.store.Store
-
Compute the value for the given key (only if absent or expired) by invoking the given function to produce the value.
- computeIfAbsentAndFault(K, Function<? super K, ? extends V>) - Method in interface org.ehcache.core.spi.store.tiering.AuthoritativeTier
-
Marks the mapping as not evictable and performs computeIfAbsent() atomically.
- concurrency - Variable in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
-
- concurrencyLevel(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
-
Sets the concurrency level on the returned builder.
- concurrencyLevel(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
-
Sets the concurrency level on the returned builder.
- concurrencyLevel(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder
-
Sets the concurrency level on the returned builder.
- Configuration - Interface in org.ehcache.config
-
- configuration(String) - Method in class org.ehcache.xml.multi.XmlMultiConfiguration
-
Retrieve the singular configuration for identity
.
- configuration(String, String) - Method in class org.ehcache.xml.multi.XmlMultiConfiguration
-
Retrieve the singular configuration for identity
and variant
.
- ConfigurationBuilder - Class in org.ehcache.config.builders
-
The
ConfigurationBuilder
enables building
Configuration
s using a fluent style.
- ConfigurationBuilder() - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
-
- ConfigurationBuilder(ConfigurationBuilder, Map<String, CacheConfiguration<?, ?>>) - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
-
- ConfigurationBuilder(ConfigurationBuilder, Collection<ServiceCreationConfiguration<?, ?>>) - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
-
- ConfigurationBuilder(ConfigurationBuilder, ClassLoader) - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
-
- ConfigurationChangeSupport - Interface in org.ehcache.core.spi.store
-
- ConfigurationElementState - Enum in org.ehcache.jsr107.config
-
ConfigurationElementState
- constructedWith(Object...) - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Adds arguments that will be passed to the constructor of the
CacheEventListener
subclass configured
previously.
- containsCache(String) - Method in class org.ehcache.config.builders.ConfigurationBuilder
-
- containsKey(K) - Method in interface org.ehcache.Cache
-
Checks whether a mapping for the given key is present, without retrieving the associated value.
- containsKey(K) - Method in interface org.ehcache.core.spi.store.Store
-
Returns true
if this store contains the specified key
and the entry is not expired.
- containsKeyFailure(K, StoreAccessException) - Method in interface org.ehcache.spi.resilience.ResilienceStrategy
-
- convert(long, MemoryUnit) - Method in enum org.ehcache.config.units.MemoryUnit
-
Converts quantity
in unit
into this unit.
- convertToExpiry(ExpiryPolicy<K, V>) - Static method in class org.ehcache.core.config.ExpiryUtils
-
- convertToExpiryPolicy(Expiry<K, V>) - Static method in class org.ehcache.core.config.ExpiryUtils
-
- Copier<T> - Interface in org.ehcache.spi.copy
-
Defines the contract used to copy type instances.
- copy(T) - Method in class org.ehcache.impl.copy.IdentityCopier
-
This implementation returns the instance passed in as-is.
- copy(T) - Method in class org.ehcache.impl.copy.ReadWriteCopier
-
Template copy method to be implemented by sub-classes.
- copy(T) - Method in class org.ehcache.impl.copy.SerializingCopier
-
Returns a copy of the passed in instance by serializing and deserializing it.
- copyForRead(T) - Method in class org.ehcache.impl.copy.ReadWriteCopier
-
Creates a copy of the instance passed in.
- copyForRead(T) - Method in interface org.ehcache.spi.copy.Copier
-
Creates a copy of the instance passed in.
- copyForWrite(T) - Method in class org.ehcache.impl.copy.ReadWriteCopier
-
Creates a copy of the instance passed in.
- copyForWrite(T) - Method in interface org.ehcache.spi.copy.Copier
-
Creates a copy of the instance passed in.
- CopyProvider - Interface in org.ehcache.spi.copy
-
- CORE_SCHEMA_URL - Static variable in class org.ehcache.xml.XmlConfiguration
-
- CoreConfigurationBuilder<B extends CoreConfigurationBuilder<B>> - Class in org.ehcache.core.config
-
- CoreConfigurationBuilder() - Constructor for class org.ehcache.core.config.CoreConfigurationBuilder
-
- CoreConfigurationBuilder(CoreConfigurationBuilder<?>, Map<String, CacheConfiguration<?, ?>>) - Constructor for class org.ehcache.core.config.CoreConfigurationBuilder
-
- CoreConfigurationBuilder(CoreConfigurationBuilder<?>, Collection<ServiceCreationConfiguration<?, ?>>) - Constructor for class org.ehcache.core.config.CoreConfigurationBuilder
-
- CoreConfigurationBuilder(CoreConfigurationBuilder<?>, ClassLoader) - Constructor for class org.ehcache.core.config.CoreConfigurationBuilder
-
- count(T) - Method in interface org.ehcache.core.statistics.OperationStatistic
-
Return the count of operations with the given type.
- count(T) - Method in class org.ehcache.core.statistics.ZeroOperationStatistic
-
- counter(Supplier<T>) - Static method in class org.ehcache.core.statistics.SuppliedValueStatistic
-
- create(Duration) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
-
Set TTL since creation.
- create(BiFunction<K2, V2, Duration>) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
-
Set a function giving the TTL since creation.
- create(ServiceCreationConfiguration<T, ?>) - Method in interface org.ehcache.core.spi.service.ServiceFactory
-
- createAuthoritativeTier(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.tiering.AuthoritativeTier.Provider
-
- createCache(String, CacheConfiguration<K, V>) - Method in interface org.ehcache.CacheManager
-
- createCache(String, Builder<? extends CacheConfiguration<K, V>>) - Method in interface org.ehcache.CacheManager
-
- createCacheEventDispatcher(Store<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.events.CacheEventDispatcherFactory
-
- createCacheLoaderWriter(String, CacheConfiguration<K, V>) - Method in interface org.ehcache.spi.loaderwriter.CacheLoaderWriterProvider
-
Creates a
CacheLoaderWriter
for use with the
Cache
of the given alias and configuration.
- createCachingTier(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.tiering.CachingTier.Provider
-
Creates a new
CachingTier
instance using the provided configuration
- createCachingTier(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.tiering.LowerCachingTier.Provider
-
- created(K, V) - Method in interface org.ehcache.core.events.StoreEventSink
-
Indicates a mapping was created.
- createEventListener(String, ServiceConfiguration<CacheEventListenerProvider, ?>) - Method in interface org.ehcache.core.events.CacheEventListenerProvider
-
- createHigherCachingTier(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.tiering.HigherCachingTier.Provider
-
- createKeyCopier(Class<T>, Serializer<T>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.spi.copy.CopyProvider
-
Creates a key
Copier
with the given parameters.
- createKeySerializer(Class<T>, ClassLoader, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.spi.serialization.SerializationProvider
-
Creates a key
Serializer
with the given parameters.
- createOperationStatistics(String, Class<T>, String, Object) - Method in interface org.ehcache.core.spi.service.StatisticsService
-
Create operation statistic for provided type
- createPersistenceContextWithin(PersistableResourceService.PersistenceSpaceIdentifier<?>, String) - Method in interface org.ehcache.core.spi.service.DiskResourceService
-
Creates a new persistence context within the given space.
- createResilienceStrategy(String, CacheConfiguration<K, V>, RecoveryStore<K>) - Method in interface org.ehcache.spi.resilience.ResilienceStrategyProvider
-
Creates a
ResilienceStrategy
for the
Cache
with the given alias and configuration
using the given
RecoveryStore
.
- createResilienceStrategy(String, CacheConfiguration<K, V>, RecoveryStore<K>, CacheLoaderWriter<? super K, V>) - Method in interface org.ehcache.spi.resilience.ResilienceStrategyProvider
-
- createSafeSpace(LocalPersistenceService.SafeSpaceIdentifier) - Method in interface org.ehcache.core.spi.service.LocalPersistenceService
-
Creates the safe space represented by safeSpaceId
, if it does not exist in the underlying physical space.
- createSafeSpaceIdentifier(String, String) - Method in interface org.ehcache.core.spi.service.LocalPersistenceService
-
Creates a logical safe directory space for the owner and returns an identifying space Id.
- createSizeOfEngine(ResourceUnit, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.heap.SizeOfEngineProvider
-
- createStore(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in class org.ehcache.core.spi.store.AbstractWrapperStoreProvider
-
- createStore(Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.core.spi.store.Store.Provider
-
Creates a new Store instance
- createValueCopier(Class<T>, Serializer<T>, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.spi.copy.CopyProvider
-
Creates a value
Copier
with the given parameters.
- createValueSerializer(Class<T>, ClassLoader, ServiceConfiguration<?, ?>...) - Method in interface org.ehcache.spi.serialization.SerializationProvider
-
Creates a value
Serializer
with the given parameters.
- createWriteBehindLoaderWriter(CacheLoaderWriter<K, V>, WriteBehindConfiguration<?>) - Method in interface org.ehcache.spi.loaderwriter.WriteBehindProvider
-
Creates write-behind decorated
CacheLoaderWriter
according to the
given configuration.
- creation(K, V, Cache<K, V>) - Static method in class org.ehcache.core.events.CacheEvents
-
- creationTime() - Method in class org.ehcache.core.spi.store.AbstractValueHolder
-
- creationTime() - Method in interface org.ehcache.core.spi.store.Store.ValueHolder
-
Accessor to the creation time of this ValueHolder
- gauge(Supplier<T>) - Static method in class org.ehcache.core.statistics.SuppliedValueStatistic
-
- get(K) - Method in interface org.ehcache.Cache
-
Retrieves the value currently mapped to the provided key.
- get(K) - Method in interface org.ehcache.core.spi.store.Store
-
Returns the
ValueHolder
to
which the specified key is mapped, or
null
if this store contains no
mapping for the key or if it was evicted (or became expired) since it was
initially installed.
- get() - Method in interface org.ehcache.core.spi.store.Store.ValueHolder
-
Returns the value held by this value holder.
- get(K) - Method in interface org.ehcache.core.spi.store.tiering.LowerCachingTier
-
Return the value holder currently in this tier.
- get() - Static method in class org.ehcache.core.statistics.ZeroOperationStatistic
-
- get(K) - Method in class org.ehcache.impl.serialization.TransientStateHolder
-
- get(K) - Method in interface org.ehcache.spi.persistence.StateHolder
-
Retrieves the value mapped to the given key
- GET_AND_FAULT_TRANSLATION - Static variable in class org.ehcache.core.statistics.TierOperationOutcomes
-
- GET_AND_REMOVE_TRANSLATION - Static variable in class org.ehcache.core.statistics.TierOperationOutcomes
-
- GET_OR_COMPUTEIFABSENT_TRANSLATION - Static variable in class org.ehcache.core.statistics.TierOperationOutcomes
-
- GET_TRANSLATION - Static variable in class org.ehcache.core.statistics.TierOperationOutcomes
-
- getAll(Set<? extends K>) - Method in interface org.ehcache.Cache
-
Retrieves all values associated with the given key set.
- getAllFailure(Iterable<? extends K>, StoreAccessException) - Method in interface org.ehcache.spi.resilience.ResilienceStrategy
-
- getAllocatedByteSize() - Method in interface org.ehcache.core.statistics.TierStatistics
-
How many bytes are currently allocated (occupied or not) for this tier
- getAndCompute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.ehcache.core.spi.store.Store
-
Compute the value for the given key by invoking the given function to produce the value.
- getAndFault(K) - Method in interface org.ehcache.core.spi.store.tiering.AuthoritativeTier
-
Marks the mapping as not evictable and returns it atomically.
- getAndPut(K, V) - Method in interface org.ehcache.core.spi.store.Store
-
Maps the specified key to the specified value in this store.
- getAndRemove(K) - Method in interface org.ehcache.core.spi.store.Store
-
Removes the key (and its corresponding value) from this store.
- getAndRemove(K) - Method in interface org.ehcache.core.spi.store.tiering.LowerCachingTier
-
Return the value holder currently in this tier and removes it atomically.
- getBatchingConfiguration() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration
-
Returns the batching configuration or null
if batching is not enabled.
- getBatchSize() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration.BatchingConfiguration
-
The recommended size of a batch of operations.
- getCache(String, Class<K>, Class<V>) - Method in interface org.ehcache.CacheManager
-
Retrieves the
Cache
associated with the given alias, if one is known.
- getCache(String) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Return the cache configuration for the given alias.
- getCache(String) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- getCacheConfigurations() - Method in interface org.ehcache.config.Configuration
-
- getCacheConfigurations() - Method in class org.ehcache.core.config.DefaultConfiguration
-
- getCacheConfigurations() - Method in class org.ehcache.xml.XmlConfiguration
-
- getCacheEvictions() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheExpirations() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheGets() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheHitPercentage() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheHits() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheLoaderWriter() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
Cache Loader-Writer for the store
- getCacheManager() - Method in interface org.ehcache.core.spi.service.CacheManagerProviderService
-
Returns the cache manager in which services live
- getCacheMisses() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheMissPercentage() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCachePuts() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheRemovals() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
- getCacheStatistics(String) - Method in interface org.ehcache.core.spi.service.StatisticsService
-
Return the object containing the statistics for a given cache name.
- getClassForName(String, ClassLoader) - Static method in class org.ehcache.xml.XmlConfiguration
-
- getClassLoader() - Method in interface org.ehcache.config.CacheConfiguration
-
The
ClassLoader
for the
Cache
.
- getClassLoader() - Method in interface org.ehcache.config.Configuration
-
- getClassLoader() - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Return the configured classloader instance.
- getClassLoader() - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- getClassLoader() - Method in class org.ehcache.core.config.DefaultConfiguration
-
- getClassLoader() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The Classloader for this store.
- getClassLoader() - Method in class org.ehcache.xml.XmlConfiguration
-
- getConcurrency() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration
-
The concurrency of the write behind engines queues.
- getConfigurationChangeListeners() - Method in interface org.ehcache.core.spi.store.ConfigurationChangeSupport
-
Returns the List
of CacheConfigurationChangeListener
defined.
- getDerivedStatistics() - Method in interface org.ehcache.core.statistics.SourceStatistic
-
Retrieve all registered statistics.
- getDerivedStatistics() - Method in class org.ehcache.core.statistics.ZeroOperationStatistic
-
- getDirectory() - Method in interface org.ehcache.core.spi.service.FileBasedPersistenceContext
-
Returns a directory where the user of this persistence context can write its files.
- getDispatcherConcurrency() - Method in interface org.ehcache.core.config.store.StoreEventSourceConfiguration
-
Indicates over how many buckets should ordered events be spread
- getDispatcherConcurrency() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The concurrency level of the dispatcher that processes events
- getEvictionAdvisor() - Method in interface org.ehcache.config.CacheConfiguration
-
- getEvictionAdvisor() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The
EvictionAdvisor
indicates if mappings should be advised against eviction.
- getEvictions() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getExistingServiceConfiguration(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExistingServiceConfigurations(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExpirationMillis(long, Duration) - Static method in class org.ehcache.core.config.ExpiryUtils
-
- getExpirations() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getExpiry() - Method in interface org.ehcache.config.CacheConfiguration
-
- getExpiry() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The expiration policy instance for this store
- getExpiryForAccess(K, ValueSupplier<? extends V>) - Method in interface org.ehcache.expiry.Expiry
-
Deprecated.
Returns the expiration
Duration
(relative to the current time) when an existing entry is accessed from a
Cache
.
- getExpiryForAccess(K, Supplier<? extends V>) - Method in interface org.ehcache.expiry.ExpiryPolicy
-
Returns the expiration
duration
(relative to the current time) when an existing entry
is accessed from a
Cache
.
- getExpiryForCreation(K, V, ExpiryPolicy<? super K, ? super V>) - Static method in class org.ehcache.core.config.ExpiryUtils
-
Returns the expiry for creation duration returned by the provided
ExpiryPolicy
but checks for immediate
expiry, null expiry and exceptions.
- getExpiryForCreation(K, V) - Method in interface org.ehcache.expiry.Expiry
-
Deprecated.
Returns the lifetime of an entry when it is initially added to a
Cache
.
- getExpiryForCreation(K, V) - Method in interface org.ehcache.expiry.ExpiryPolicy
-
Returns the lifetime of an entry when it is initially added to a
Cache
.
- getExpiryForUpdate(K, ValueSupplier<? extends V>, V) - Method in interface org.ehcache.expiry.Expiry
-
Deprecated.
Returns the expiration
Duration
(relative to the current time) when an existing entry is updated in a
Cache
.
- getExpiryForUpdate(K, Supplier<? extends V>, V) - Method in interface org.ehcache.expiry.ExpiryPolicy
-
Returns the expiration
duration
(relative to the current time) when an existing entry
is updated in a
Cache
.
- getExpiryPolicy() - Method in interface org.ehcache.config.CacheConfiguration
-
- getFailure(K, StoreAccessException) - Method in interface org.ehcache.spi.resilience.ResilienceStrategy
-
- getFailures() - Method in exception org.ehcache.spi.loaderwriter.BulkCacheLoadingException
-
Returns the map of keys to exception.
- getFailures() - Method in exception org.ehcache.spi.loaderwriter.BulkCacheWritingException
-
Returns the map of keys to exception.
- getFiringMode() - Method in class org.ehcache.core.events.EventListenerWrapper
-
- getHits() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getId() - Method in class org.ehcache.core.spi.store.AbstractValueHolder
-
- getId() - Method in interface org.ehcache.core.spi.store.Store.ValueHolder
-
The combination of this identifier and the key
that ValueHolder is mapped to should to be
unique at a given time.
- getKey() - Method in interface org.ehcache.Cache.Entry
-
Returns the key of this mapping
- getKey() - Method in interface org.ehcache.core.spi.store.events.StoreEvent
-
The key of the mapping affected by the mutative event
- getKey() - Method in interface org.ehcache.event.CacheEvent
-
The key of the mapping affected by this event.
- getKeySerializer() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The serializer for key instances
- getKeyType() - Method in interface org.ehcache.config.CacheConfiguration
-
The key type for the
Cache
.
- getKeyType() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The type
of the keys that a Store will hold.
- getLength() - Method in class org.ehcache.expiry.Duration
-
Deprecated.
Gets the length of time this Duration
represents.
- getListener() - Method in class org.ehcache.core.events.EventListenerWrapper
-
- getMappings() - Method in interface org.ehcache.core.statistics.TierStatistics
-
Number of entries currently in this tier
- getMaxDelay() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration.BatchingConfiguration
-
The maximum time to wait before writing behind.
- getMaxDelayUnit() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration.BatchingConfiguration
-
The time unit for the maximum delay.
- getMaxQueueSize() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration
-
The maximum number of operations allowed on each write behind queue.
- getMessage() - Method in exception org.ehcache.spi.loaderwriter.BulkCacheWritingException
-
- getMisses() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getNewValue() - Method in interface org.ehcache.core.spi.store.events.StoreEvent
-
The mapped value immediately after the mutative event occurred.
- getNewValue() - Method in interface org.ehcache.event.CacheEvent
-
The mapped value immediately after the mutative event occurred.
- getOccupiedByteSize() - Method in interface org.ehcache.core.statistics.TierStatistics
-
How many bytes are currently occupied for this tier
- getOldValue() - Method in interface org.ehcache.core.spi.store.events.StoreEvent
-
The mapped value immediately before the mutative event occurred.
- getOldValue() - Method in interface org.ehcache.event.CacheEvent
-
The mapped value immediately before the mutative event occurred.
- getOrComputeIfAbsent(K, Function<K, Store.ValueHolder<V>>) - Method in interface org.ehcache.core.spi.store.tiering.CachingTier
-
Either return the value holder currently in the caching tier, or compute and store it when it isn't present.
- getOrDefault(K, Function<K, Store.ValueHolder<V>>) - Method in interface org.ehcache.core.spi.store.tiering.CachingTier
-
Either return the value holder currently in the caching tier, or return the provided default.
- getOrderedExecutor(String, BlockingQueue<Runnable>) - Method in interface org.ehcache.core.spi.service.ExecutionService
-
Get a pre-configured ExecutorService
instance that guarantees execution in submission order.
- getPersistenceSpaceIdentifier(String, CacheConfiguration<?, ?>) - Method in interface org.ehcache.spi.persistence.PersistableResourceService
-
- getPersistentStateHolder(String, Class<K>, Class<V>, Predicate<Class<?>>, ClassLoader) - Method in class org.ehcache.impl.serialization.TransientStateRepository
-
- getPersistentStateHolder(String, Class<K>, Class<V>) - Method in interface org.ehcache.spi.persistence.StateRepository
-
- getPersistentStateHolder(String, Class<K>, Class<V>, Predicate<Class<?>>, ClassLoader) - Method in interface org.ehcache.spi.persistence.StateRepository
-
Gets a named state holder rooted in the current StateRepository
.
- getPoolForResource(ResourceType<P>) - Method in interface org.ehcache.config.ResourcePools
-
- getPreConfiguredCacheLoaderWriterConfig(String) - Method in interface org.ehcache.spi.loaderwriter.CacheLoaderWriterProvider
-
- getPuts() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getRemovals() - Method in interface org.ehcache.core.statistics.TierStatistics
-
- getResourcePoolClass() - Method in enum org.ehcache.config.ResourceType.Core
-
- getResourcePoolClass() - Method in interface org.ehcache.config.ResourceType
-
Gets the
ResourcePool
type associated with this
ResourceType
.
- getResourcePools() - Method in interface org.ehcache.config.CacheConfiguration
-
- getResourcePools() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The resource pools this store can make use of
- getResourceTypeSet() - Method in interface org.ehcache.config.ResourcePools
-
- getRoot() - Method in interface org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier
-
Represents the root directory of the given logical safe space.
- getRuntimeConfiguration() - Method in interface org.ehcache.Cache
-
- getRuntimeConfiguration() - Method in interface org.ehcache.CacheManager
-
- getScheduledExecutor(String) - Method in interface org.ehcache.core.spi.service.ExecutionService
-
Get a pre-configured ScheduledExecutorService
instance.
- getSerializer() - Method in class org.ehcache.impl.copy.SerializingCopier
-
- getService(Class<C>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Return the unique service configuration of the given type.
- getService(Class<C>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Return the unique service creation configuration of the given type.
- getService(Class<U>) - Method in interface org.ehcache.spi.service.ServiceProvider
-
Looks up the
Service
of the given
serviceType
.
- getServiceConfigurations() - Method in interface org.ehcache.config.CacheConfiguration
-
The service configurations defined for the
Cache
.
- getServiceCreationConfigurations() - Method in interface org.ehcache.config.Configuration
-
- getServiceCreationConfigurations() - Method in class org.ehcache.core.config.DefaultConfiguration
-
- getServiceCreationConfigurations() - Method in class org.ehcache.xml.XmlConfiguration
-
- getServices(Class<C>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getServices(Class<C>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Returns all the service configurations of the given type.
- getServices(Class<C>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Return the service creation configurations of the given type.
- getServices(Class<C>) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- getServicesOfType(Class<U>) - Method in interface org.ehcache.spi.service.ServiceProvider
-
Looks up all
Service
instances that are subtypes of the given
serviceType
supplied.
- getServiceType() - Method in class org.ehcache.core.config.store.StoreStatisticsConfiguration
-
- getServiceType() - Method in interface org.ehcache.core.spi.service.ServiceFactory
-
Queries a
ServiceFactory
to know which concrete
Service
type it produces.
- getServiceType() - Method in class org.ehcache.jsr107.config.Jsr107CacheConfiguration
-
- getServiceType() - Method in interface org.ehcache.spi.loaderwriter.CacheLoaderWriterConfiguration
-
Indicates which service this configuration works with.
- getServiceType() - Method in interface org.ehcache.spi.service.ServiceConfiguration
-
Indicates which service this configuration works with.
- getServiceType() - Method in interface org.ehcache.spi.service.ServiceCreationConfiguration
-
Indicates which service consumes this configuration at creation.
- getSize() - Method in interface org.ehcache.config.SizedResourcePool
-
Gets the size of this pool.
- getSource() - Method in interface org.ehcache.event.CacheEvent
-
Deprecated.
- getStateRepositoryWithin(PersistableResourceService.PersistenceSpaceIdentifier<?>, String) - Method in interface org.ehcache.spi.persistence.PersistableResourceService
-
- getStatus() - Method in interface org.ehcache.CacheManager
-
Returns the current
Status
of this
CacheManager
.
- getStatus() - Method in interface org.ehcache.UserManagedCache
-
Returns the current
Status
of this
UserManagedCache
.
- getStoreEventSource() - Method in interface org.ehcache.core.spi.store.Store
-
Exposes the Store
eventing system to allow configuration and registration of listeners.
- getSuccesses() - Method in exception org.ehcache.spi.loaderwriter.BulkCacheLoadingException
-
Returns the map of keys to value.
- getSuccesses() - Method in exception org.ehcache.spi.loaderwriter.BulkCacheWritingException
-
Returns the set of keys that were successfully written.
- getThreadPoolAlias() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration
-
Returns the alias of the thread resource pool to use for write behind task execution.
- getTierHeight() - Method in enum org.ehcache.config.ResourceType.Core
-
- getTierHeight() - Method in interface org.ehcache.config.ResourceType
-
Indicates the level this resource sits in the tiering system.
- getTierStatistics() - Method in interface org.ehcache.core.statistics.CacheStatistics
-
Map of tier statistics on this cache.
- getTimeMillis() - Method in class org.ehcache.core.spi.time.SystemTimeSource
-
The current "time" in milliseconds
- getTimeMillis() - Method in class org.ehcache.core.spi.time.TickingTimeSource
-
- getTimeMillis() - Method in interface org.ehcache.core.spi.time.TimeSource
-
The current "time" in milliseconds
- getTimeSource() - Method in interface org.ehcache.core.spi.time.TimeSourceService
-
- getTimeUnit() - Method in class org.ehcache.expiry.Duration
-
Deprecated.
Gets the TimeUnit
of this Duration
.
- getType() - Method in interface org.ehcache.config.ResourcePool
-
- getType() - Method in interface org.ehcache.core.spi.store.events.StoreEvent
-
The type of mutative event
- getType() - Method in interface org.ehcache.event.CacheEvent
-
- getUnit() - Method in interface org.ehcache.config.SizedResourcePool
-
Gets the unit in which the resource is sized.
- getUnorderedExecutor(String, BlockingQueue<Runnable>) - Method in interface org.ehcache.core.spi.service.ExecutionService
-
Get a pre-configured ExecutorService
instance.
- getURL() - Method in class org.ehcache.xml.XmlConfiguration
-
Exposes the URL where the XML file parsed or yet to be parsed was or will be sourced from.
- getValue() - Method in interface org.ehcache.Cache.Entry
-
Returns the value of this mapping
- getValueSerializer() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The serializer for value instances
- getValueType() - Method in interface org.ehcache.config.CacheConfiguration
-
The value type for the
Cache
.
- getValueType() - Method in interface org.ehcache.core.spi.store.Store.Configuration
-
The type
of the values that a Store will hold.
- SerializationProvider - Interface in org.ehcache.spi.serialization
-
- serialize(byte[]) - Method in class org.ehcache.impl.serialization.ByteArraySerializer
-
Transforms the given instance into its serial form.
- serialize(Character) - Method in class org.ehcache.impl.serialization.CharSerializer
-
Transforms the given instance into its serial form.
- serialize(T) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
-
Transforms the given instance into its serial form.
- serialize(Double) - Method in class org.ehcache.impl.serialization.DoubleSerializer
-
Transforms the given instance into its serial form.
- serialize(Float) - Method in class org.ehcache.impl.serialization.FloatSerializer
-
Transforms the given instance into its serial form.
- serialize(Integer) - Method in class org.ehcache.impl.serialization.IntegerSerializer
-
Transforms the given instance into its serial form.
- serialize(Long) - Method in class org.ehcache.impl.serialization.LongSerializer
-
Transforms the given instance into its serial form.
- serialize(T) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
-
- serialize(String) - Method in class org.ehcache.impl.serialization.StringSerializer
-
Transforms the given instance into its serial form.
- serialize(T) - Method in interface org.ehcache.spi.serialization.Serializer
-
Transforms the given instance into its serial form.
- Serializer<T> - Interface in org.ehcache.spi.serialization
-
Defines the contract used to transform type instances to and from a serial form.
- SerializerException - Exception in org.ehcache.spi.serialization
-
Thrown by a
Serializer
when it cannot serialize or deserialize an instance.
- SerializerException() - Constructor for exception org.ehcache.spi.serialization.SerializerException
-
Creates a SerializerException
.
- SerializerException(String) - Constructor for exception org.ehcache.spi.serialization.SerializerException
-
Creates a SerializerException
with the provided message.
- SerializerException(String, Throwable) - Constructor for exception org.ehcache.spi.serialization.SerializerException
-
Creates a SerializerException
with the provided message and cause.
- SerializerException(Throwable) - Constructor for exception org.ehcache.spi.serialization.SerializerException
-
Creates a SerializerException
with the provided cause.
- SerializingCopier<T> - Class in org.ehcache.impl.copy
-
A helper copier implementation that performs the "copying" using
serialization
.
- SerializingCopier(Serializer<T>) - Constructor for class org.ehcache.impl.copy.SerializingCopier
-
Creates a new copier that will using the provided
Serializer
.
- Service - Interface in org.ehcache.spi.service
-
A life-cycled service that supports cache functionality.
- ServiceConfiguration<T extends Service,R> - Interface in org.ehcache.spi.service
-
A configuration type to be used when interacting with a
Service
.
- ServiceCreationConfiguration<T extends Service,R> - Interface in org.ehcache.spi.service
-
A configuration type used when creating a
Service
.
- ServiceDependencies - Annotation Type in org.ehcache.spi.service
-
Annotation that allows a
Service
implementation to declare a dependency on other
Service
s.
- ServiceFactory<T extends Service> - Interface in org.ehcache.core.spi.service
-
A factory abstraction that can create
Service
instances.
- ServiceFactory.RequiresConfiguration - Annotation Type in org.ehcache.core.spi.service
-
- ServiceProvider<T extends Service> - Interface in org.ehcache.spi.service
-
A repository of
Service
instances that can be used to look them up by type.
- ServiceUtils - Class in org.ehcache.core.spi.service
-
Helper class to find a service or service configuration matching the wanted type.
- setAccess(Duration) - Method in class org.ehcache.expiry.Expirations.ExpiryBuilder
-
Deprecated.
Set TTL since last access
- setCreate(Duration) - Method in class org.ehcache.expiry.Expirations.ExpiryBuilder
-
Deprecated.
Set TTL since creation
- setEventOrdering(boolean) - Method in class org.ehcache.core.events.NullStoreEventDispatcher
-
- setEventOrdering(boolean) - Method in interface org.ehcache.core.spi.store.events.StoreEventSource
-
Toggles event ordering.
- setExpirationTime(long) - Method in class org.ehcache.core.spi.store.AbstractValueHolder
-
Set the new expiration time in milliseconds.
- setInvalidationListener(CachingTier.InvalidationListener<K, V>) - Method in interface org.ehcache.core.spi.store.tiering.CachingTier
-
- setInvalidationListener(CachingTier.InvalidationListener<K, V>) - Method in interface org.ehcache.core.spi.store.tiering.LowerCachingTier
-
Set the caching tier's invalidation listener.
- setInvalidationValve(AuthoritativeTier.InvalidationValve) - Method in interface org.ehcache.core.spi.store.tiering.AuthoritativeTier
-
- setLastAccessTime(long) - Method in class org.ehcache.core.spi.store.AbstractValueHolder
-
Set the last time this entry was accessed in milliseconds.
- setListenerSource(Cache<K, V>) - Method in interface org.ehcache.core.events.CacheEventDispatcher
-
Injects the cache acting as the event source
- setStoreEventSource(StoreEventSource<K, V>) - Method in interface org.ehcache.core.events.CacheEventDispatcher
-
Injects the store event source providing events to the listeners.
- setSynchronous(boolean) - Method in class org.ehcache.core.events.NullStoreEventDispatcher
-
- setSynchronous(boolean) - Method in interface org.ehcache.core.spi.store.events.StoreEventSource
-
Toggles event synchronicity.
- setUpdate(Duration) - Method in class org.ehcache.expiry.Expirations.ExpiryBuilder
-
Deprecated.
Set TTL since last update
- shutdown() - Method in interface org.ehcache.core.events.CacheEventDispatcher
-
Shuts down this dispatcher
- silentInvalidate(K, Function<Store.ValueHolder<V>, Void>) - Method in interface org.ehcache.core.spi.store.tiering.HigherCachingTier
-
Removes a mapping without firing an invalidation event, then calls the function under the same lock scope
passing in the mapping or null if none was present.
- silentInvalidateAll(BiFunction<K, Store.ValueHolder<V>, Void>) - Method in interface org.ehcache.core.spi.store.tiering.HigherCachingTier
-
Removes all mappings without firing an invalidation event instead invoking the provided function.
- silentInvalidateAllWithHash(long, BiFunction<K, Store.ValueHolder<V>, Void>) - Method in interface org.ehcache.core.spi.store.tiering.HigherCachingTier
-
Remove all mappings whose key have the specified hash code without firing an invalidation event instead
invoking the provided function.
- SizedResourcePool - Interface in org.ehcache.config
-
- sizeof(K, Store.ValueHolder<V>) - Method in interface org.ehcache.core.spi.store.heap.SizeOfEngine
-
Size of the objects on heap including the overhead
- SizeOfEngine - Interface in org.ehcache.core.spi.store.heap
-
SizeOfEngine
is the abstraction that byte sized
Store
will use to calculate memory size.
- SizeOfEngineProvider - Interface in org.ehcache.core.spi.store.heap
-
- SourceStatistic<T extends ChainedObserver> - Interface in org.ehcache.core.statistics
-
- start(ServiceProvider<Service>) - Method in class org.ehcache.core.spi.store.AbstractWrapperStoreProvider
-
- start(ServiceProvider<Service>) - Method in class org.ehcache.core.spi.time.TickingTimeSource
-
- start(ServiceProvider<Service>) - Method in interface org.ehcache.spi.service.Service
-
- startForMaintenance(ServiceProvider<? super MaintainableService>, MaintainableService.MaintenanceScope) - Method in interface org.ehcache.spi.service.MaintainableService
-
Start this service for maintenance, based on its default configuration.
- StateChangeListener - Interface in org.ehcache.core.events
-
Interface for listeners interested in
CacheManager
state transitions.
- StatefulSerializer<T> - Interface in org.ehcache.spi.serialization
-
Implementations of this interface can have their state maintained in a StateRepository
.
- StateHolder<K,V> - Interface in org.ehcache.spi.persistence
-
A Map
like structure that can hold key value mappings.
- StateRepository - Interface in org.ehcache.spi.persistence
-
A repository allowing to preserve state in the context of a
Cache
.
- stateTransition(Status, Status) - Method in interface org.ehcache.core.events.StateChangeListener
-
Is notified when a state transition occurred.
- StateTransitionException - Exception in org.ehcache
-
Indicates that a state transition failed.
- StateTransitionException(Throwable) - Constructor for exception org.ehcache.StateTransitionException
-
Creates a StateTransitionException
with the provided cause.
- statistic(T) - Method in interface org.ehcache.core.statistics.OperationStatistic
-
- statistic(Set<T>) - Method in interface org.ehcache.core.statistics.OperationStatistic
-
- StatisticsService - Interface in org.ehcache.core.spi.service
-
Service providing raw statistics for cache and tier usage.
- StatisticType - Enum in org.ehcache.core.statistics
-
- Status - Enum in org.ehcache
-
- stop() - Method in class org.ehcache.core.spi.store.AbstractWrapperStoreProvider
-
- stop() - Method in class org.ehcache.core.spi.time.TickingTimeSource
-
- stop() - Method in interface org.ehcache.spi.service.Service
-
Stops this service.
- Store<K,V> - Interface in org.ehcache.core.spi.store
-
The
Store
interface represents the backing storage of a
Cache
.
- Store.Configuration<K,V> - Interface in org.ehcache.core.spi.store
-
The basic configuration for a Store.
- Store.Iterator<T> - Interface in org.ehcache.core.spi.store
-
An iterator over a Store.
- Store.Provider - Interface in org.ehcache.core.spi.store
-
The Service used to create Stores.
- Store.PutStatus - Enum in org.ehcache.core.spi.store
-
Put operation status
- Store.RemoveStatus - Enum in org.ehcache.core.spi.store
-
Conditional Remove operation status
- Store.ReplaceStatus - Enum in org.ehcache.core.spi.store
-
Conditional Replace operation status
- Store.ValueHolder<V> - Interface in org.ehcache.core.spi.store
-
Holds both a value, and all the metadata associated with a mapping in a Store.
- StoreAccessException - Exception in org.ehcache.spi.resilience
-
Generic exception used when an internal operation fails on a
Cache
.
- StoreAccessException(Throwable) - Constructor for exception org.ehcache.spi.resilience.StoreAccessException
-
Creates a new exception wrapping the cause
passed in.
- StoreAccessException(String, Throwable) - Constructor for exception org.ehcache.spi.resilience.StoreAccessException
-
Creates a new exception wrapping the cause
passed in and with the provided message.
- StoreAccessException(String) - Constructor for exception org.ehcache.spi.resilience.StoreAccessException
-
Creates a new exception with the provided message.
- StoreEvent<K,V> - Interface in org.ehcache.core.spi.store.events
-
An event resulting from a mutative
Store
operation.
- StoreEventDispatcher<K,V> - Interface in org.ehcache.core.events
-
Part of the events subsystem at the
Store
level.
- StoreEventFilter<K,V> - Interface in org.ehcache.core.spi.store.events
-
Interface used to create
Store
event filters
- StoreEventListener<K,V> - Interface in org.ehcache.core.spi.store.events
-
Interface used to register on a
StoreEventSource
to get notified of events happening to mappings the
Store
contains.
- StoreEventSink<K,V> - Interface in org.ehcache.core.events
-
Interface on which
Store
operations are to record events.
- StoreEventSource<K,V> - Interface in org.ehcache.core.spi.store.events
-
Interface to enable listening on and configuring the
Store
eventing system.
- StoreEventSourceConfiguration<R> - Interface in org.ehcache.core.config.store
-
ServiceConfiguration
used by the
EhcacheManager
to populate the dispatcher
concurrency in the
StoreConfigurationImpl
.
- StoreOperationOutcomes - Interface in org.ehcache.core.statistics
-
StoreOperationOutcomes
- StoreOperationOutcomes.ComputeIfAbsentOutcome - Enum in org.ehcache.core.statistics
-
the computeIfAbsent outcomes
- StoreOperationOutcomes.ComputeOutcome - Enum in org.ehcache.core.statistics
-
the compute outcomes
- StoreOperationOutcomes.ConditionalRemoveOutcome - Enum in org.ehcache.core.statistics
-
the conditional remove outcomes
- StoreOperationOutcomes.ConditionalReplaceOutcome - Enum in org.ehcache.core.statistics
-
the conditional replace outcomes
- StoreOperationOutcomes.EvictionOutcome - Enum in org.ehcache.core.statistics
-
The eviction outcomes.
- StoreOperationOutcomes.ExpirationOutcome - Enum in org.ehcache.core.statistics
-
Outcomes for expiration
- StoreOperationOutcomes.GetOutcome - Enum in org.ehcache.core.statistics
-
The get outcomes
- StoreOperationOutcomes.PutIfAbsentOutcome - Enum in org.ehcache.core.statistics
-
the putIfAbsent outcomes
- StoreOperationOutcomes.PutOutcome - Enum in org.ehcache.core.statistics
-
The put outcomes
- StoreOperationOutcomes.RemoveOutcome - Enum in org.ehcache.core.statistics
-
The remove outcomes
- StoreOperationOutcomes.ReplaceOutcome - Enum in org.ehcache.core.statistics
-
the replace outcomes
- StorePassThroughException - Exception in org.ehcache.core.exceptions
-
A generic wrapper runtime exception that will not be caught and
handled at the store level.
- StorePassThroughException(String, Throwable) - Constructor for exception org.ehcache.core.exceptions.StorePassThroughException
-
Creates an exception with the provided message and cause.
- StorePassThroughException(Throwable) - Constructor for exception org.ehcache.core.exceptions.StorePassThroughException
-
Creates an exception with the provided cause.
- StoreStatisticsConfiguration - Class in org.ehcache.core.config.store
-
Configure if statistics are unable on stores.
- StoreStatisticsConfiguration(boolean) - Constructor for class org.ehcache.core.config.store.StoreStatisticsConfiguration
-
- StringSerializer - Class in org.ehcache.impl.serialization
-
- StringSerializer() - Constructor for class org.ehcache.impl.serialization.StringSerializer
-
No arg constructor
- StringSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.StringSerializer
-
Constructor to enable this serializer as a transient one.
- sum(Set<T>) - Method in interface org.ehcache.core.statistics.OperationStatistic
-
- sum() - Method in interface org.ehcache.core.statistics.OperationStatistic
-
- sum(Set<T>) - Method in class org.ehcache.core.statistics.ZeroOperationStatistic
-
- sum() - Method in class org.ehcache.core.statistics.ZeroOperationStatistic
-
- SuppliedValueStatistic<T extends java.io.Serializable> - Class in org.ehcache.core.statistics
-
- SuppliedValueStatistic(StatisticType, Supplier<T>) - Constructor for class org.ehcache.core.statistics.SuppliedValueStatistic
-
- supply(StatisticType, Supplier<T>) - Static method in class org.ehcache.core.statistics.SuppliedValueStatistic
-
- synchronous() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Sets the returned builder for synchronous event processing.
- SystemTimeSource - Class in org.ehcache.core.spi.time
-
The standard
TimeSource
that uses
System.currentTimeMillis()
- validateAndMerge(ResourcePools) - Method in interface org.ehcache.config.ResourcePools
-
Get a copy of this
ResourcePools
merged with the given
ResourcePools
, validating that
the updates to the contained
ResourcePool
s are legal.
- validateUpdate(ResourcePool) - Method in interface org.ehcache.config.ResourcePool
-
Validates whether or not a new
ResourcePool
can replace this
ResourcePool
on a running
Cache
.
- value() - Method in class org.ehcache.core.statistics.SuppliedValueStatistic
-
- value() - Method in interface org.ehcache.core.statistics.ValueStatistic
-
- value() - Method in interface org.ehcache.ValueSupplier
-
Deprecated.
Computes the value behind this instance.
- valueOf(String) - Static method in enum org.ehcache.config.ResourceType.Core
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.config.units.EntryUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.config.units.MemoryUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.spi.store.Store.PutStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.spi.store.Store.RemoveStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.spi.store.Store.ReplaceStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.ComputeIfAbsentAndFaultOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.FlushOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.GetAndFaultOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.BulkOps
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ClearOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ConditionalRemoveOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.GetAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.GetOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutIfAbsentOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.RemoveAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.RemoveOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ReplaceOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.GetOrComputeIfAbsentOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateAllWithHashOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateAllWithHashOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.GetAndRemoveOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InstallMappingOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateAllOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateAllWithHashOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StatisticType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ComputeIfAbsentOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ComputeOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ConditionalRemoveOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ConditionalReplaceOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.EvictionOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ExpirationOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.GetOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.PutIfAbsentOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.PutOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.RemoveOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ReplaceOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.TierOperationOutcomes.EvictionOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.core.statistics.TierOperationOutcomes.GetOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.event.EventFiring
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.event.EventOrdering
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.event.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.jsr107.config.ConfigurationElementState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.spi.service.MaintainableService.MaintenanceScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ehcache.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.ehcache.config.ResourceType.Core
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.config.units.EntryUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.config.units.MemoryUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.spi.store.Store.PutStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.spi.store.Store.RemoveStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.spi.store.Store.ReplaceStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.ComputeIfAbsentAndFaultOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.FlushOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.AuthoritativeTierOperationOutcomes.GetAndFaultOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.BulkOps
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ClearOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ConditionalRemoveOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.GetAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.GetOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutIfAbsentOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.PutOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.RemoveAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.RemoveOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CacheOperationOutcomes.ReplaceOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.GetOrComputeIfAbsentOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateAllWithHashOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.CachingTierOperationOutcomes.InvalidateOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateAllWithHashOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.HigherCachingTierOperationOutcomes.SilentInvalidateOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.GetAndRemoveOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InstallMappingOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateAllOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateAllWithHashOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.LowerCachingTierOperationsOutcome.InvalidateOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StatisticType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ComputeIfAbsentOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ComputeOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ConditionalRemoveOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ConditionalReplaceOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.EvictionOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ExpirationOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.GetOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.PutIfAbsentOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.PutOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.RemoveOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.StoreOperationOutcomes.ReplaceOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.TierOperationOutcomes.EvictionOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.core.statistics.TierOperationOutcomes.GetOutcome
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.event.EventFiring
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.event.EventOrdering
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.event.EventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.jsr107.config.ConfigurationElementState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.spi.service.MaintainableService.MaintenanceScope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.ehcache.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- ValueStatistic<T extends java.io.Serializable> - Interface in org.ehcache.core.statistics
-
- ValueSupplier<V> - Interface in org.ehcache
-
- variant(String, Configuration) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Variant
-
Add a new variant configuration
- variant(String, Builder<? extends Configuration>) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Variant
-
Add a new variant configuration built from the given builder.
- variants(String) - Method in class org.ehcache.xml.multi.XmlMultiConfiguration
-
Return the set of variants defined for the given configuration.
- with(CacheManagerConfiguration<N>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
- with(Builder<? extends CacheManagerConfiguration<N>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
- with(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
- with(ResourceType<SizedResourcePool>, long, ResourceUnit, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
- with(UserManagedCacheConfiguration<K, V, N>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withCache(String, CacheConfiguration<K, V>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
- withCache(String, Builder<? extends CacheConfiguration<K, V>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Convenience method to add a
CacheConfiguration
linked to the specified alias to the returned builder by
building it from the provided
Builder
.
- withCache(String, CacheConfiguration<?, ?>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Adds the given cache to this configuration.
- withCache(String, Builder<? extends CacheConfiguration<?, ?>>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Adds the cache configuration built by a builder to this configuration.
- withCache(String, CacheConfiguration<?, ?>) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withClassLoader(ClassLoader) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withClassLoader(ClassLoader) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a ClassLoader
, to use for non Ehcache types, to the returned builder
- withClassLoader(ClassLoader) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a ClassLoader
, to load non Ehcache types, to the returned builder.
- withClassLoader(ClassLoader) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the ClassLoader
in the returned builder.
- withClassLoader(ClassLoader) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Sets the given class loader as the cache manager classloader
- withClassLoader(ClassLoader) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withCopier(Class<C>, Class<? extends Copier<C>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default
Copier
for the specified type to the returned builder.
- withDefaultClassLoader() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDefaultClassLoader() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any previously installed custom class loader
- withDefaultClassLoader() - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Removes any provided class loader returning to default behavior
- withDefaultClassLoader() - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withDefaultDiskStoreThreadPool() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Restores the default disk store thread pool settings.
- withDefaultDiskStoreThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a OffHeapDiskStoreProviderConfiguration
, that specifies the thread pool to use, to the returned
builder.
- withDefaultDispatcherConcurrency() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Restores the default dispatcher concurrency.
- withDefaultEventListenersThreadPool() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Restores the default event listener thread pool settings.
- withDefaultEventListenersThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a CacheEventDispatcherFactoryConfiguration
, that specifies the thread pool to use, to the returned
builder.
- withDefaultKeySerializer() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDefaultKeySerializer() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any explicitly configured
Serializer
for cache keys.
- withDefaultResilienceStrategy() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDefaultResilienceStrategy() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Restores configuration of the implementations default resilience strategy.
- withDefaultSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default
SizeOfEngine
configuration, that limits the max object graph to
size, to the returned builder.
- withDefaultSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default
SizeOfEngine
configuration, that limits the max object size, to
the returned builder.
- withDefaultSizeOfSettings() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Restores the default size-of settings.
- withDefaultValueSerializer() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDefaultValueSerializer() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any explicitly configured
Serializer
for cache values.
- withDefaultWriteBehindThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a WriteBehindProviderConfiguration
, that specifies the thread pool to use, to the returned builder.
- withDiskStoreThreadPool(String, int) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
ServiceConfiguration
for the
OffHeapDiskStore.Provider
indicating thread pool alias and write concurrency.
- withDispatcherConcurrency(int) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDispatcherConcurrency(int) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for dispatcher concurrency in event processing.
- withEventDispatcher(CacheEventDispatcher<K, V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEventExecutors(ExecutorService, ExecutorService) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEventListeners(CacheEventListenerConfigurationBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEventListeners(CacheEventListenerConfiguration<?>...) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEventListenersThreadPool(String) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withEvictionAdvisor(EvictionAdvisor<? super K, ? super V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withEvictionAdvisor(EvictionAdvisor<K, V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEvictionAdvisor(EvictionAdvisor<? super K, ? super V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
- withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withExpiry(ExpiryPolicy<? super K, ? super V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withExpiry(ExpiryPolicy<? super K, ? super V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withExpiry(ExpiryPolicy<? super K, ? super V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
ExpiryPolicy
configuration in the returned builder.
- withKeyCopier(Copier<K>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withKeyCopier(Class<? extends Copier<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withKeyCopier(Copier<K>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for key
Copier
to the returned builder.
- withKeyCopier(Copier<K>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the provided
Copier
for the key on heap.
- withKeyCopier(Class<? extends Copier<K>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the provided
Copier
class for the key on heap.
- withKeySerializer(Serializer<K>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withKeySerializer(Class<? extends Serializer<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withKeySerializer(Serializer<K>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for key
Serializer
to the returned builder.
- withKeySerializer(Serializer<K>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
Serializer
for cache keys in the returned builder.
- withKeySerializer(Class<? extends Serializer<K>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
Serializer
class for cache keys in the returned builder.
- withKeySerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withKeySerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withKeySerializingCopier() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the cache key serializer for the key on heap.
- withLoaderWriter(CacheLoaderWriter<K, V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withLoaderWriter(Class<CacheLoaderWriter<K, V>>, Object...) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withLoaderWriter(CacheLoaderWriter<K, V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withLoaderWriter(CacheLoaderWriter<K, V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
- withLoaderWriter(Class<CacheLoaderWriter<K, V>>, Object...) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
CacheLoaderWriter
(using a class and constructor arguments) in the returned builder.
- withManager(String, Configuration) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Builder
-
Add a new configuration with the given identity
- withManager(String, Builder<? extends Configuration>) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Builder
-
Add a new configuration with the given identity built from the given builder.
- withManager(String) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Builder
-
Add a new manager with variant configurations.
- withoutCache(String) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Removes the given cache from this configuration.
- withoutCache(String) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withoutKeyCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withoutKeyCopier() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any configured
Copier
for keys on heap.
- withoutLoaderWriter() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withoutLoaderWriter() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any configured loader-writer.
- withoutManager(String) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Builder
-
Remove the configuration with the given identity
- withoutServices(Class<? extends ServiceConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withoutServices(Class<C>, Predicate<? super C>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withoutServices(Class<? extends ServiceConfiguration<?, ?>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes all service configurations of the given type from this configuration.
- withoutServices(Class<C>, Predicate<? super C>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes all service configurations of the given type that pass the predicate.
- withoutServices(Class<? extends ServiceCreationConfiguration<?, ?>>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Removes all service creation configurations of the given type from this configuration.
- withoutServices(Class<C>, Predicate<? super C>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Removes all service creation configurations of the given type that pass the predicate.
- withoutServices(Class<C>, Predicate<? super C>) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withoutValueCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withoutValueCopier() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Removes any configured
Copier
for values on heap.
- withoutVariant(String) - Method in interface org.ehcache.xml.multi.XmlMultiConfiguration.Variant
-
Remove the given configuration variant.
- withReplacing(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
- withResilienceStrategy(ResilienceStrategy<K, V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withResilienceStrategy(Class<? extends ResilienceStrategy>, Object...) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withResilienceStrategy(ResilienceStrategy<K, V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
- withResilienceStrategy(Class<? extends ResilienceStrategy>, Object...) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
ResilienceStrategy
(using a class and constructor arguments) in the returned builder.
- withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withResourcePools(ResourcePoolsBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withResourcePools(ResourcePools) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
- withResourcePools(Builder<? extends ResourcePools>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
- withSerializer(Class<C>, Class<? extends Serializer<C>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default
Serializer
for the specified type to the returned builder.
- withService(ServiceConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withService(ServiceConfiguration<?, ?>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds a service configuration to this configuration.
- withService(Builder<? extends ServiceConfiguration<?, ?>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds a service configuration built by the given builder to this configuration.
- withService(ServiceCreationConfiguration<?, ?>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Adds a service creation configuration to this configuration.
- withService(Builder<? extends ServiceCreationConfiguration<?, ?>>) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Adds a service creation configuration built by the given builder to this configuration.
- withService(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.core.config.CoreConfigurationBuilder
-
- withSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds or updates the DefaultSizeOfEngineConfiguration
with the specified object graph maximum size to the configured
builder.
- withSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds or updates the DefaultSizeOfEngineProviderConfiguration
with the specified object graph maximum size to the configured
builder.
- withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds or updates the DefaultSizeOfEngineConfiguration
with the specified maximum mapping size to the configured
builder.
- withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds or updates the DefaultSizeOfEngineProviderConfiguration
with the specified maximum mapping size to the configured
builder.
- withValueCopier(Copier<V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withValueCopier(Class<? extends Copier<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withValueCopier(Copier<V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for value
Copier
to the returned builder.
- withValueCopier(Copier<V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the provided
Copier
for the value on heap.
- withValueCopier(Class<? extends Copier<V>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the provided
Copier
class for the value on heap.
- withValueSerializer(Serializer<V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withValueSerializer(Class<? extends Serializer<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withValueSerializer(Serializer<V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for value
Serializer
to the returned builder.
- withValueSerializer(Serializer<V>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
Serializer
for cache values in the returned builder.
- withValueSerializer(Class<? extends Serializer<V>>) - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Sets the
Serializer
class for cache values in the returned builder.
- withValueSerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withValueSerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withValueSerializingCopier() - Method in interface org.ehcache.config.FluentCacheConfigurationBuilder
-
Adds by-value semantics using the cache value serializer for the value on heap.
- wrap(Store<K, V>, Store.Configuration<K, V>, ServiceConfiguration<?, ?>...) - Method in class org.ehcache.core.spi.store.AbstractWrapperStoreProvider
-
- WrapperStore<K,V> - Interface in org.ehcache.core.spi.store
-
Marker interface for
Store
s which act like wrapper and does not have any storage, rather
delegate the storage to other stores
- WrapperStore.Provider - Interface in org.ehcache.core.spi.store
-
- wrapperStoreRank(Collection<ServiceConfiguration<?, ?>>) - Method in interface org.ehcache.core.spi.store.WrapperStore.Provider
-
Gets the internal ranking for the WrapperStore
instances provided by this Provider
of the wrapper
store's
- write(K, V) - Method in interface org.ehcache.spi.loaderwriter.CacheLoaderWriter
-
Writes a single mapping.
- writeAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in interface org.ehcache.spi.loaderwriter.CacheLoaderWriter
-
Writes multiple mappings.
- WriteBehindConfiguration<R> - Interface in org.ehcache.spi.loaderwriter
-
- WriteBehindConfiguration.BatchingConfiguration - Interface in org.ehcache.spi.loaderwriter
-
- WriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
- WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
- WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
- WriteBehindProvider - Interface in org.ehcache.spi.loaderwriter
-
A
Service
that provides write-behind functionality.