Skip navigation links
A B C D E F G H I L M N O P Q R S T U W 

A

access(Duration) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Set TTI since last access.
access(BiFunction<K2, Supplier<? extends V2>, Duration>) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Set a function giving the TTI since last access.
add(ServiceConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
add(Builder<? extends ServiceConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Deprecated.
in favor of FluentCacheConfigurationBuilder.withService(Builder)
addCache(String, CacheConfiguration<?, ?>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
Deprecated.
in favor of CoreConfigurationBuilder.withCache(String, CacheConfiguration)
addService(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
Deprecated.
in favor of CoreConfigurationBuilder.withService(ServiceCreationConfiguration)
apply(T, U, V) - Method in interface org.ehcache.config.builders.ExpiryPolicyBuilder.TriFunction
Applies this function to the given arguments.
asCopierClass() - Static method in class org.ehcache.impl.copy.SerializingCopier
Convenience method allowing to represent this copier's class as the expected type in configuration.
asTypedSerializer() - Static method in class org.ehcache.impl.serialization.CompactJavaSerializer
 
asynchronous() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Sets the returned builder for asynchronous event processing.

B

batchSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Updates the batch size on the returned builder.
build() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
build() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Builds the CacheEventListenerConfiguration this builder represents.
build(boolean) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Builds a CacheManager or a subtype of it and initializes it if requested.
build() - Method in class org.ehcache.config.builders.CacheManagerBuilder
Builds a CacheManager or a subtype of it uninitialized.
build() - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Builds an expiry policy instance.
build() - Method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
Builds the PooledExecutionServiceConfiguration
build() - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Builds the ResourcePools based on this builder's configuration.
build(boolean) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Builds the UserManagedCache, initializing it if requested.
build() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Builds an unitialized UserManagedCache.
build() - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Builds the WriteBehindConfiguration
build() - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder
Builds the WriteBehindConfiguration
builder(CacheManagerBuilder<? extends CacheManager>) - Method in interface org.ehcache.config.builders.CacheManagerConfiguration
Enables to refine the type that the CacheManagerBuilder will build.
builder(UserManagedCacheBuilder<K, V, ? extends UserManagedCache<K, V>>) - Method in interface org.ehcache.config.builders.UserManagedCacheConfiguration
Enables to refine the type that the UserManagedCacheBuilder will build.
ByteArraySerializer - Class in org.ehcache.impl.serialization
Default Serializer for byte[] type.
ByteArraySerializer() - Constructor for class org.ehcache.impl.serialization.ByteArraySerializer
No arg constructor
ByteArraySerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.ByteArraySerializer
Constructor to enable this serializer as a transient one.

C

CacheConfigurationBuilder<K,V> - Class in org.ehcache.config.builders
The CacheConfigurationBuilder enables building CacheConfigurations using a fluent style.
CacheEventListenerConfigurationBuilder - Class in org.ehcache.config.builders
The CacheEventListenerConfigurationBuilder enables building CacheEventListenerConfigurations using a fluent style.
CacheManagerBuilder<T extends org.ehcache.CacheManager> - Class in org.ehcache.config.builders
The CacheManagerBuilder enables building cache managers using a fluent style.
CacheManagerConfiguration<T extends org.ehcache.CacheManager> - Interface in org.ehcache.config.builders
A configuration type that enables to further specify the type of CacheManager in a CacheManagerBuilder.
CharSerializer - Class in org.ehcache.impl.serialization
Default Serializer for Char type.
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.
clearAllServiceConfig() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
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.
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.
ConfigurationBuilder - Class in org.ehcache.config.builders
The ConfigurationBuilder enables building Configurations 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
 
ConfigurationBuilder(ConfigurationBuilder, ResourcePools) - 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
Deprecated.
in favor of CoreConfigurationBuilder.getCache(String)
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
copyForWrite(T) - Method in class org.ehcache.impl.copy.ReadWriteCopier
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.

D

defaultPool(String, int, int) - Method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
Adds a default pool configuration to the returned builder.
disableCoalescing() - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Disables batch coalescing on the returned builder.
disk(long, MemoryUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Convenience method to add a non persistent disk pool.
disk(long, MemoryUnit, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Convenience method to add a disk pool specifying persistence.
DoubleSerializer - Class in org.ehcache.impl.serialization
Default Serializer for Double type.
DoubleSerializer() - Constructor for class org.ehcache.impl.serialization.DoubleSerializer
No arg constructor
DoubleSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.DoubleSerializer
Constructor to enable this serializer as a transient one.

E

enableCoalescing() - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Enables batch coalescing on the returned builder.
equals(byte[], ByteBuffer) - Method in class org.ehcache.impl.serialization.ByteArraySerializer
equals(Character, ByteBuffer) - Method in class org.ehcache.impl.serialization.CharSerializer
equals(T, ByteBuffer) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
equals(Double, ByteBuffer) - Method in class org.ehcache.impl.serialization.DoubleSerializer
equals(Float, ByteBuffer) - Method in class org.ehcache.impl.serialization.FloatSerializer
equals(Integer, ByteBuffer) - Method in class org.ehcache.impl.serialization.IntegerSerializer
equals(Long, ByteBuffer) - Method in class org.ehcache.impl.serialization.LongSerializer
equals(T, ByteBuffer) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
 
equals(String, ByteBuffer) - Method in class org.ehcache.impl.serialization.StringSerializer
eventOrdering(EventOrdering) - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Adds specific EventOrdering to the returned builder.
expiry() - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Fluent API for creating an ExpiryPolicy instance where you can specify constant values for creation, access and update time.
ExpiryPolicyBuilder<K,V> - Class in org.ehcache.config.builders
Builder and utilities for getting predefined ExpiryPolicy instances.
ExpiryPolicyBuilder.TriFunction<T,U,V,R> - Interface in org.ehcache.config.builders
 

F

firingMode(EventFiring) - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Adds specific EventFiring to the returned builder.
FloatSerializer - Class in org.ehcache.impl.serialization
Default Serializer for Float type.
FloatSerializer() - Constructor for class org.ehcache.impl.serialization.FloatSerializer
No arg constructor
FloatSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.FloatSerializer
Constructor to enable this serializer as a transient one.

G

getExistingServiceConfiguration(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Deprecated.
in favor of FluentCacheConfigurationBuilder.getService(Class)
getExistingServiceConfigurations(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
getSerializer() - Method in class org.ehcache.impl.copy.SerializingCopier
Returns the Serializer used by this copier.
getServices(Class<C>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 

H

hasConfiguredExpiry() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Indicates whether this builder has configured expiry or not.
heap(long) - Static method in class org.ehcache.config.builders.ResourcePoolsBuilder
Creates a new ResourcePoolsBuilder with a heap pool sized in entries
heap(long, ResourceUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Convenience method to add a heap pool.

I

identifier(String) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds an identifier to the returned builder.
IdentityCopier<T> - Class in org.ehcache.impl.copy
Copier implementation that simply returns the value passed in, doing in fact no copy at all.
IdentityCopier() - Constructor for class org.ehcache.impl.copy.IdentityCopier
 
identityCopier() - Static method in class org.ehcache.impl.copy.IdentityCopier
 
init(StateRepository) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
 
IntegerSerializer - Class in org.ehcache.impl.serialization
Default Serializer for Integer type.
IntegerSerializer() - Constructor for class org.ehcache.impl.serialization.IntegerSerializer
No arg constructor
IntegerSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.IntegerSerializer
Constructor to enable this serializer as a transient one.

L

LongSerializer - Class in org.ehcache.impl.serialization
Default Serializer for Long type.
LongSerializer() - Constructor for class org.ehcache.impl.serialization.LongSerializer
No arg constructor
LongSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.LongSerializer
Constructor to enable this serializer as a transient one.

M

maxWriteDelay(long, TimeUnit) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Updates the max write delay on the returned builder.

N

newBatchedWriteBehindConfiguration(long, TimeUnit, int) - Static method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
Creates a new builder for WriteBehindConfiguration that supports batching.
newBuilderWith(Map<String, CacheConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
 
newBuilderWith(Collection<ServiceCreationConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
 
newBuilderWith(ClassLoader) - Method in class org.ehcache.config.builders.ConfigurationBuilder
 
newBuilderWith(ResourcePools) - Method in class org.ehcache.config.builders.ConfigurationBuilder
 
newCacheConfigurationBuilder(Class<K>, Class<V>, ResourcePools) - Static method in class org.ehcache.config.builders.CacheConfigurationBuilder
Creates a new instance ready to produce a CacheConfiguration with key type <K> and with value type <V> and which will use the configured resources.
newCacheConfigurationBuilder(Class<K>, Class<V>, Builder<? extends ResourcePools>) - Static method in class org.ehcache.config.builders.CacheConfigurationBuilder
Creates a new instance ready to produce a CacheConfiguration with key type <K> and with value type <V> and which will use the configured resources, passed as a ResourcePoolsBuilder.
newCacheConfigurationBuilder(CacheConfiguration<K, V>) - Static method in class org.ehcache.config.builders.CacheConfigurationBuilder
Creates a new instance ready to produce a CacheConfiguration functionally equivalent to the supplied configuration.
newCacheManager(Configuration) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
Creates a new CacheManager based on the provided configuration.
newCacheManagerBuilder() - Static method in class org.ehcache.config.builders.CacheManagerBuilder
Creates a new CacheManagerBuilder
newConfigurationBuilder() - Static method in class org.ehcache.config.builders.ConfigurationBuilder
Create a new 'empty' configuration builder.
newConfigurationBuilder(Configuration) - Static method in class org.ehcache.config.builders.ConfigurationBuilder
Create a configuration builder seeded from the given configuration.
newEventListenerConfiguration(Class<? extends CacheEventListener<?, ?>>, EventType, EventType...) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Creates a new builder instance using the given CacheEventListener subclass and the EventTypes it will listen to.
newEventListenerConfiguration(CacheEventListener<?, ?>, EventType, EventType...) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Creates a new builder instance using the given CacheEventListener instance and the EventTypes it will listen to.
newEventListenerConfiguration(Class<? extends CacheEventListener<?, ?>>, Set<EventType>) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Creates a new builder instance using the given CacheEventListener subclass and the set of EventTypes to listen to.
newEventListenerConfiguration(CacheEventListener<?, ?>, Set<EventType>) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Creates a new builder instance using the given CacheEventListener instance and the set of EventTypes to listen to.
newPooledExecutionServiceConfigurationBuilder() - Static method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
Creates a new instance of PooledExecutionServiceConfigurationBuilder
newPooledExecutionServiceConfigurationBuilder(PooledExecutionServiceConfiguration) - Static method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
Creates a seeded instance of PooledExecutionServiceConfigurationBuilder
newResourcePoolsBuilder() - Static method in class org.ehcache.config.builders.ResourcePoolsBuilder
Creates a new ResourcePoolsBuilder.
newResourcePoolsBuilder(ResourcePools) - Static method in class org.ehcache.config.builders.ResourcePoolsBuilder
Convenience method to get a builder from an existing ResourcePools.
newUnBatchedWriteBehindConfiguration() - Static method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
Creates a new builder for WriteBehindConfiguration without batching support.
newUserManagedCacheBuilder(Class<K>, Class<V>) - Static method in class org.ehcache.config.builders.UserManagedCacheBuilder
Creates a new UserManagedCacheBuilder.
noExpiration() - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Get an ExpiryPolicy instance for a non expiring (ie.

O

offheap(long, MemoryUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Convenience method to add an offheap pool.
ordered() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Sets the returned builder for ordered event processing.
org.ehcache.config.builders - package org.ehcache.config.builders
Builders designed to help with programmatic configuration of Ehcache using a fluent API
org.ehcache.impl.copy - package org.ehcache.impl.copy
Package for bundled implementation of copiers.
org.ehcache.impl.serialization - package org.ehcache.impl.serialization
Package for bundled implementations of serializers.

P

persistence(String) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
Convenience method to get a CacheManagerConfiguration for a PersistentCacheManager stored on disk.
persistence(File) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
Convenience method to get a CacheManagerConfiguration for a PersistentCacheManager stored on disk.
PlainJavaSerializer<T> - Class in org.ehcache.impl.serialization
Plain Java serialization based serializer.
PlainJavaSerializer(ClassLoader) - Constructor for class org.ehcache.impl.serialization.PlainJavaSerializer
 
pool(String, int, int) - Method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
Adds a pool configuration to the returned builder.
PooledExecutionServiceConfigurationBuilder - Class in org.ehcache.config.builders
The PooledExecutionServiceConfigurationBuilder enables building configurations for an ExecutionService that is pool based using a fluent style.

Q

queueSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Sets the batch queue size on the returned builder.
queueSize - Variable in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
 
queueSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
Sets the batch queue size on the returned builder.
queueSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder
Sets the batch queue size on the returned builder.

R

read(ByteBuffer) - Method in class org.ehcache.impl.serialization.ByteArraySerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.CharSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.DoubleSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.FloatSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.IntegerSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.LongSerializer
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
 
read(ByteBuffer) - Method in class org.ehcache.impl.serialization.StringSerializer
ReadWriteCopier<T> - Class in org.ehcache.impl.copy
A helper Copier implementation that can be extended directly if the copying operation is the same irrespective of the action performed (read or write).
ReadWriteCopier() - Constructor for class org.ehcache.impl.copy.ReadWriteCopier
 
remove(ServiceConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
removeCache(String) - Method in class org.ehcache.config.builders.ConfigurationBuilder
Deprecated.
in favor of CoreConfigurationBuilder.withoutCache(String)
removeService(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
Deprecated.
in favor of FluentConfigurationBuilder.withoutServices(Class) or CoreConfigurationBuilder.withoutServices(Class, Predicate)
replacing(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Deprecated.
in favor of CacheManagerBuilder.using(ServiceCreationConfiguration) whose refined contract matches this one
ResourcePoolsBuilder - Class in org.ehcache.config.builders
The ResourcePoolsBuilder enables building ResourcePools configurations using a fluent style.

S

serialize(byte[]) - Method in class org.ehcache.impl.serialization.ByteArraySerializer
serialize(Character) - Method in class org.ehcache.impl.serialization.CharSerializer
serialize(T) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
serialize(Double) - Method in class org.ehcache.impl.serialization.DoubleSerializer
serialize(Float) - Method in class org.ehcache.impl.serialization.FloatSerializer
serialize(Integer) - Method in class org.ehcache.impl.serialization.IntegerSerializer
serialize(Long) - Method in class org.ehcache.impl.serialization.LongSerializer
serialize(T) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
 
serialize(String) - Method in class org.ehcache.impl.serialization.StringSerializer
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.
shared(ResourceType<?>, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
 
shared(ResourceType<?>) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
 
sharedDisk() - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Informs the cache manager that an existing disk shared pool, defined on the cache manager, should be used for the cache's disk caching requirements.
sharedHeap() - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Informs the cache manager that an existing heap shared pool, defined on the cache manager, should be used for the cache's on-heap caching requirements.
sharedOffheap() - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Informs the cache manager that an existing offheap shared pool, defined on the cache manager, should be used for the cache's offheap caching requirements.
sharedResources(Builder<? extends ResourcePools>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Defines a ResourcePools, containing one or more ResourcePools that configured caches can reference, such that their caching requirements will be managed via the shared pool.
StringSerializer - Class in org.ehcache.impl.serialization
Default Serializer for String type.
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.
synchronous() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Sets the returned builder for synchronous event processing.

T

threadPoolAlias - Variable in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
 
timeToIdleExpiration(Duration) - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Get a time-to-idle (TTI) ExpiryPolicy instance for the given Duration.
timeToLiveExpiration(Duration) - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Get a time-to-live (TTL) ExpiryPolicy instance for the given Duration.

U

unordered() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
Sets the returned builder for unordered event processing.
update(Duration) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Set TTL since last update.
update(ExpiryPolicyBuilder.TriFunction<K2, Supplier<? extends V2>, V2, Duration>) - Method in class org.ehcache.config.builders.ExpiryPolicyBuilder
Set a function giving the TTL since last update.
updateResourcePools(UnaryOperator<ResourcePools>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
updateServices(Class<C>, UnaryOperator<R>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
UserManagedCacheBuilder<K,V,T extends org.ehcache.UserManagedCache<K,V>> - Class in org.ehcache.config.builders
The UserManagedCacheBuilder enables building UserManagedCaches using a fluent style.
UserManagedCacheConfiguration<K,V,T extends org.ehcache.UserManagedCache<K,V>> - Interface in org.ehcache.config.builders
A configuration type that enables to further specify the type of UserManagedCache in a UserManagedCacheBuilder.
useThreadPool(String) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
Sets the thread pool to use for write behind on the returned builder.
useThreadPool(String) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder
Sets the thread pool to use for write behind on the returned builder.
useThreadPool(String) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
Sets the thread pool to use for write behind on the returned builder.
using(Service) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Adds a Service instance to the returned builder.
using(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Adds a ServiceCreationConfiguration to the returned builder.
using(Service) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds a Service to be made available to the returned builder.
using(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds a ServiceCreationConfiguration, to trigger a service loading and its configuration, to the returned builder.

W

with(CacheManagerConfiguration<N>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Specializes the returned CacheManager subtype through a specific CacheManagerConfiguration which will optionally add configurations to the returned builder.
with(Builder<? extends CacheManagerConfiguration<N>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Convenience method to specialize the returned CacheManager subtype through a CacheManagerConfiguration built using the provided Builder.
with(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Add the ResourcePool of ResourceType in the returned builder.
with(ResourceType<SizedResourcePool>, long, ResourceUnit, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Add the ResourcePool of ResourceType in the returned builder.
with(UserManagedCacheConfiguration<K, V, N>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Specifies the returned UserManagedCache subtype through a specific UserManagedCacheConfiguration which will optionally add configurations to the returned builder.
withCache(String, CacheConfiguration<K, V>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Adds a CacheConfiguration linked to the specified alias to the returned builder.
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
 
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.
withDefaultClassLoader() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
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
 
withDefaultResilienceStrategy() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withDefaultSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Deprecated.
withDefaultSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheManagerBuilder
Deprecated.
withDefaultSizeOfSettings() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Deprecated.
withDefaultValueSerializer() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
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
Convenience method to add a CacheEventListenerConfiguration based on the provided CacheEventListenerConfigurationBuilder to the returned builder.
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
Adds an EvictionAdvisor to the returned builder.
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
Adds ExpiryPolicy configuration to 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.
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.
withKeySerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withKeySerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds a configuration for key copying using the key Serializer to the returned builder.
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
Adds a CacheLoaderWriter to the returned builder.
withoutKeyCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withoutLoaderWriter() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
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
 
withoutValueCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withReplacing(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
Add or replace the ResourcePool of ResourceType in the returned builder.
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
 
withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds a ResourcePools configuration to the returned builder.
withResourcePools(ResourcePoolsBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Convenience method to add a ResourcePools configuration based on the provided ResourcePoolsBuilder to the returned builder.
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
 
withSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Deprecated.
withSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Deprecated.
withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
Deprecated.
withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Deprecated.
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.
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.
withValueSerializingCopier() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
 
withValueSerializingCopier() - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
Adds a configuration for value copying using the key Serializer to the returned builder.
WriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
The WriteBehindConfigurationBuilder enables building WriteBehindConfigurations using a fluent style.
WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
Specialized WriteBehindConfigurationBuilder for WriteBehindConfigurations that supports batching
WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
Specialized WriteBehindConfigurationBuilder for WriteBehindConfigurations without batching support
A B C D E F G H I L M N O P Q R S T U W 
Skip navigation links