- 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.
- 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
-
- 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
.
- 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
-
- 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.
- containsKey(K) - Method in interface org.ehcache.Cache
-
Checks whether a mapping for the given key is present, without retrieving the associated value.
- 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
-
- 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.
- 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.
- getAll(Set<? extends K>) - Method in interface org.ehcache.Cache
-
Retrieves all values associated with the given key set.
- 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.
- 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
-
- 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
-
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
-
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
-
Returns the expiration
Duration
(relative to the current time) when an existing entry is updated in a
Cache
.
- 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
-
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
-
- getPersistentConcurrentMap(String, Class<K>, Class<V>) - Method in interface org.ehcache.spi.persistence.StateRepository
-
Gets a named persistent map rooted in the current StateRepository
.
- getPoolForResource(ResourceType<P>) - Method in interface org.ehcache.config.ResourcePools
-
- 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<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
-
- 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.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
-
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
.
- 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
-
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.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.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- ValueSupplier<V> - Interface in org.ehcache
-
A ValueSupplier
represents an indirect way to access a value.
- 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
.
- withClassLoader(ClassLoader) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a ClassLoader
to the returned builder.
- 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.
- 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.
- withDefaultDiskStoreThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a OffHeapDiskStoreProviderConfiguration
, that specifies the thread pool to use, to the returned
builder.
- withDefaultEventListenersThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a CacheEventDispatcherFactoryConfiguration
, that specifies the thread pool to use, to the returned
builder.
- 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.
- 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
-
- withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds
Expiry
configuration to the returned builder.
- withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds
Expiry
configuration to the returned builder.
- withKeyCopier(Copier<K>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds by-value semantic using the provided
Copier
for the key on heap.
- withKeyCopier(Class<? extends Copier<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds by-value semantic using the provided
Copier
class for the key on heap.
- withKeyCopier(Copier<K>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for key
Copier
to the returned builder.
- withKeySerializer(Serializer<K>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
Serializer
for cache keys to the configured builder.
- withKeySerializer(Class<? extends Serializer<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
Serializer
class for cache keys to the configured builder.
- withKeySerializer(Serializer<K>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for key
Serializer
to the returned builder.
- withKeySerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds by-value semantic using the cache key serializer for the key on heap.
- withKeySerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- 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
-
Adds a
CacheLoaderWriter
configured through a class and optional constructor arguments to the configured
builder.
- withLoaderWriter(CacheLoaderWriter<K, V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withReplacing(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
- withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withResourcePools(ResourcePoolsBuilder) - 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
-
- 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.
- 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
-
Adds by-value semantic using the provided
Copier
for the value on heap.
- withValueCopier(Class<? extends Copier<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds by-value semantic using the provided
Copier
class for the value on heap.
- withValueCopier(Copier<V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for value
Copier
to the returned builder.
- withValueSerializer(Serializer<V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
Serializer
for cache values to the configured builder.
- withValueSerializer(Class<? extends Serializer<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
Serializer
class for cache values to the configured builder.
- withValueSerializer(Serializer<V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a configuration for value
Serializer
to the returned builder.
- withValueSerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds by-value semantic using the cache value serializer for the value on heap.
- withValueSerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- 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 - 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.