- 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
.
- 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.
- CacheEventListener<K,V> - Interface in org.ehcache.event
-
Definition of the contract for implementing listeners to receive
CacheEvent
s from a
Cache
.
- CacheEventListenerConfigurationBuilder - Class in org.ehcache.config.builders
-
The CacheEventListenerConfigurationBuilder
enables building CacheEventListenerConfiguration
s using a
fluent style.
- 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
-
- 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.
- CacheRuntimeConfiguration<K,V> - Interface in org.ehcache.config
-
Represents the configuration currently used by a
Cache
.
- 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.
- clear() - Method in interface org.ehcache.Cache
-
Removes all mappings currently present in the Cache
.
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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.
- Copier<T> - Interface in org.ehcache.spi.copy
-
Defines the contract used to copy type instances.
- copyForRead(T) - Method in interface org.ehcache.spi.copy.Copier
-
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
-
- 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.
- createCache(String, CacheConfiguration<K, V>) - Method in interface org.ehcache.CacheManager
-
- createCache(String, Builder<? extends CacheConfiguration<K, V>>) - Method in interface org.ehcache.CacheManager
-
- 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.
- 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.
- 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
-
- 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.
- get(K) - Method in interface org.ehcache.Cache
-
Retrieves the value currently mapped to the provided key.
- get(K) - Method in interface org.ehcache.spi.persistence.StateHolder
-
Retrieves the value mapped to the given key
- 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
-
- 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.
- getCacheConfigurations() - Method in interface org.ehcache.config.Configuration
-
- 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.
- getConcurrency() - Method in interface org.ehcache.spi.loaderwriter.WriteBehindConfiguration
-
The concurrency of the write behind engines queues.
- getEvictionAdvisor() - Method in interface org.ehcache.config.CacheConfiguration
-
- getExistingServiceConfiguration(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExistingServiceConfigurations(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExpiry() - Method in interface org.ehcache.config.CacheConfiguration
-
- 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) - 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.
- getKey() - Method in interface org.ehcache.Cache.Entry
-
Returns the key of this mapping
- getKey() - Method in interface org.ehcache.event.CacheEvent
-
The key of the mapping affected by this event.
- getKeyType() - Method in interface org.ehcache.config.CacheConfiguration
-
The key type for the
Cache
.
- getLength() - Method in class org.ehcache.expiry.Duration
-
Deprecated.
Gets the length of time this Duration
represents.
- 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
-
- getNewValue() - Method in interface org.ehcache.event.CacheEvent
-
The mapped value immediately after the mutative event occurred.
- getOldValue() - Method in interface org.ehcache.event.CacheEvent
-
The mapped value immediately before the mutative event occurred.
- getPersistenceSpaceIdentifier(String, CacheConfiguration<?, ?>) - Method in interface org.ehcache.spi.persistence.PersistableResourceService
-
- 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
-
- 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
-
- getResourceTypeSet() - Method in interface org.ehcache.config.ResourcePools
-
- getRuntimeConfiguration() - Method in interface org.ehcache.Cache
-
- getRuntimeConfiguration() - Method in interface org.ehcache.CacheManager
-
- 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
-
- 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.
- 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 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
.
- 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.
- 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.event.CacheEvent
-
- getUnit() - Method in interface org.ehcache.config.SizedResourcePool
-
Gets the unit in which the resource is sized.
- getValue() - Method in interface org.ehcache.Cache.Entry
-
Returns the value of this mapping
- getValueType() - Method in interface org.ehcache.config.CacheConfiguration
-
The value type for the
Cache
.
- SerializationProvider - Interface in org.ehcache.spi.serialization
-
- 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.
- 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.
- 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.
- 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
- setUpdate(Duration) - Method in class org.ehcache.expiry.Expirations.ExpiryBuilder
-
Deprecated.
Set TTL since last update
- SizedResourcePool - Interface in org.ehcache.config
-
- 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.
- 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
.
- 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.
- Status - Enum in org.ehcache
-
- stop() - Method in interface org.ehcache.spi.service.Service
-
Stops this service.
- 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.
- synchronous() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Sets the returned builder for synchronous event processing.
- 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 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.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.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.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.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.
- ValueSupplier<V> - Interface in org.ehcache
-
- 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.
- 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
- 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
- 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
-
Adds StoreEventSourceConfiguration
with the specified dispatcher concurrency
to the configured builder.
- 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
-
Adds an CacheEventDispatcher
to the returned builder.
- withEventExecutors(ExecutorService, ExecutorService) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds the default CacheEventDispatcher
using the provided ExecutorService
to the returned builder.
- withEventListeners(CacheEventListenerConfigurationBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withEventListeners(CacheEventListenerConfiguration<?>...) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds one or more CacheEventListenerConfiguration
to the returned builder.
- withEventListenersThreadPool(String) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
ServiceConfiguration
for the
CacheEventDispatcherFactory
specifying
the thread pool alias to use.
- 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.
- withoutCache(String) - Method in interface org.ehcache.config.FluentConfigurationBuilder
-
Removes the given cache from this configuration.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.