Index
All Classes and Interfaces|All Packages
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(Builder<? extends ServiceConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Deprecated.
- add(ServiceConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Deprecated.
- 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
CacheEventListenerConfigurationthis builder represents. - build() - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Builds a
CacheManageror 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
ResourcePoolsbased on this builder's configuration. - 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 - build(boolean) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Builds a
CacheManageror a subtype of it and initializes it if requested. - build(boolean) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Builds the
UserManagedCache, initializing it if requested. - builder(CacheManagerBuilder<? extends CacheManager>) - Method in interface org.ehcache.config.builders.CacheManagerConfiguration
-
Enables to refine the type that the
CacheManagerBuilderwill build. - builder(UserManagedCacheBuilder<K, V, ? extends UserManagedCache<K, V>>) - Method in interface org.ehcache.config.builders.UserManagedCacheConfiguration
-
Enables to refine the type that the
UserManagedCacheBuilderwill build. - ByteArraySerializer - Class in org.ehcache.impl.serialization
-
Default
Serializerforbyte[]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
CacheConfigurationBuilderenables buildingCacheConfigurations using a fluent style. - CacheEventListenerConfigurationBuilder - Class in org.ehcache.config.builders
-
The
CacheEventListenerConfigurationBuilderenables buildingCacheEventListenerConfigurations using a fluent style. - CacheManagerBuilder<T extends org.ehcache.CacheManager> - Class in org.ehcache.config.builders
-
The
CacheManagerBuilderenables 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
CacheManagerin aCacheManagerBuilder. - CharSerializer - Class in org.ehcache.impl.serialization
-
Default
SerializerforChartype. - 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
-
Deprecated.in favor of
withoutServices(ServiceConfiguration.class) - 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
ConfigurationBuilderenables buildingConfigurations using a fluent style. - ConfigurationBuilder() - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
- ConfigurationBuilder(ConfigurationBuilder, ClassLoader) - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
- ConfigurationBuilder(ConfigurationBuilder, Collection<ServiceCreationConfiguration<?, ?>>) - Constructor for class org.ehcache.config.builders.ConfigurationBuilder
- ConfigurationBuilder(ConfigurationBuilder, Map<String, CacheConfiguration<?, ?>>) - 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
CacheEventListenersubclass 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
diskpool. - disk(long, MemoryUnit, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Convenience method to add a
diskpool specifying persistence. - DoubleSerializer - Class in org.ehcache.impl.serialization
-
Default
SerializerforDoubletype. - 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(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(String, ByteBuffer) - Method in class org.ehcache.impl.serialization.StringSerializer
- equals(T, ByteBuffer) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
- equals(T, ByteBuffer) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
- eventOrdering(EventOrdering) - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Adds specific
EventOrderingto the returned builder. - expiry() - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
-
Fluent API for creating an
ExpiryPolicyinstance 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
ExpiryPolicyinstances. - 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
EventFiringto the returned builder. - FloatSerializer - Class in org.ehcache.impl.serialization
-
Default
SerializerforFloattype. - 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
-
Deprecated.in favor of
CacheConfigurationBuilder.getServices(Class) - getSerializer() - Method in class org.ehcache.impl.copy.SerializingCopier
-
Returns the
Serializerused 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
ResourcePoolsBuilderwith aheappool sized inentries - heap(long, ResourceUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Convenience method to add a
heappool.
I
- identifier(String) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds an identifier to the returned builder.
- identityCopier() - Static method in class org.ehcache.impl.copy.IdentityCopier
- IdentityCopier<T> - Class in org.ehcache.impl.copy
-
Copierimplementation that simply returns the value passed in, doing in fact no copy at all. - IdentityCopier() - Constructor for class org.ehcache.impl.copy.IdentityCopier
- init(StateRepository) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
- IntegerSerializer - Class in org.ehcache.impl.serialization
-
Default
SerializerforIntegertype. - 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
SerializerforLongtype. - 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
WriteBehindConfigurationthat supports batching. - newBuilderWith(ClassLoader) - Method in class org.ehcache.config.builders.ConfigurationBuilder
- newBuilderWith(Collection<ServiceCreationConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
- newBuilderWith(Map<String, CacheConfiguration<?, ?>>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
- newBuilderWith(ResourcePools) - Method in class org.ehcache.config.builders.ConfigurationBuilder
- 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
CacheConfigurationwith key type<K>and with value type<V>and which will use theconfigured resources, passed as aResourcePoolsBuilder. - newCacheConfigurationBuilder(Class<K>, Class<V>, ResourcePools) - Static method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Creates a new instance ready to produce a
CacheConfigurationwith key type<K>and with value type<V>and which will use theconfigured resources. - newCacheConfigurationBuilder(CacheConfiguration<K, V>) - Static method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Creates a new instance ready to produce a
CacheConfigurationfunctionally equivalent to the supplied configuration. - newCacheManager(Configuration) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
-
Creates a new
CacheManagerbased 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<?, ?>>, Set<EventType>) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Creates a new builder instance using the given
CacheEventListenersubclass and the set ofEventTypes to listen to. - newEventListenerConfiguration(Class<? extends CacheEventListener<?, ?>>, EventType, EventType...) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Creates a new builder instance using the given
CacheEventListenersubclass and theEventTypes it will listen to. - newEventListenerConfiguration(CacheEventListener<?, ?>, Set<EventType>) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Creates a new builder instance using the given
CacheEventListenerinstance and the set ofEventTypes to listen to. - newEventListenerConfiguration(CacheEventListener<?, ?>, EventType, EventType...) - Static method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Creates a new builder instance using the given
CacheEventListenerinstance and theEventTypes it will 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
WriteBehindConfigurationwithout 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
ExpiryPolicyinstance for a non expiring (ie.
O
- offheap(long, MemoryUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Convenience method to add an
offheappool. - 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(File) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
-
Convenience method to get a
CacheManagerConfigurationfor aPersistentCacheManagerstored on disk. - persistence(String) - Static method in class org.ehcache.config.builders.CacheManagerBuilder
-
Convenience method to get a
CacheManagerConfigurationfor aPersistentCacheManagerstored 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
PooledExecutionServiceConfigurationBuilderenables building configurations for anExecutionServicethat is pool based using a fluent style.
Q
- queueSize - Variable in class org.ehcache.config.builders.WriteBehindConfigurationBuilder
- queueSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
-
Sets the batch queue size on the returned builder.
- 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
Copierimplementation 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
-
Deprecated.
- 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)orCoreConfigurationBuilder.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
ResourcePoolsBuilderenables buildingResourcePoolsconfigurations 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(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(String) - Method in class org.ehcache.impl.serialization.StringSerializer
- serialize(T) - Method in class org.ehcache.impl.serialization.CompactJavaSerializer
- serialize(T) - Method in class org.ehcache.impl.serialization.PlainJavaSerializer
- 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<?>) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
- shared(ResourceType<?>, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
- sharedDisk() - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Informs the cache manager that an existing
diskshared 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
heapshared 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
offheapshared 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 moreResourcePools 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
SerializerforStringtype. - 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)
ExpiryPolicyinstance for the givenDuration. - timeToLiveExpiration(Duration) - Static method in class org.ehcache.config.builders.ExpiryPolicyBuilder
-
Get a time-to-live (TTL)
ExpiryPolicyinstance for the givenDuration.
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
UserManagedCacheBuilderenables buildingUserManagedCaches 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
UserManagedCachein aUserManagedCacheBuilder. - 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
Serviceinstance to the returned builder. - using(Service) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a
Serviceto be made available to the returned builder. - using(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a
ServiceCreationConfigurationto 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(Builder<? extends CacheManagerConfiguration<N>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Convenience method to specialize the returned
CacheManagersubtype through aCacheManagerConfigurationbuilt using the providedBuilder. - with(CacheManagerConfiguration<N>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Specializes the returned
CacheManagersubtype through a specificCacheManagerConfigurationwhich will optionally add configurations to the returned builder. - with(UserManagedCacheConfiguration<K, V, N>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Specifies the returned
UserManagedCachesubtype through a specificUserManagedCacheConfigurationwhich will optionally add configurations to the returned builder. - with(ResourcePool) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Add the
ResourcePoolofResourceTypein the returned builder. - with(ResourceType<SizedResourcePool>, long, ResourceUnit, boolean) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Add the
ResourcePoolofResourceTypein the returned builder. - withCache(String, Builder<? extends CacheConfiguration<K, V>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Convenience method to add a
CacheConfigurationlinked to the specified alias to the returned builder by building it from the providedBuilder. - withCache(String, CacheConfiguration<K, V>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a
CacheConfigurationlinked to the specified alias to the returned 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
Copierfor 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
ServiceConfigurationfor theOffHeapDiskStore.Providerindicating thread pool alias and write concurrency. - withDispatcherConcurrency(int) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds
StoreEventSourceConfigurationwith 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
CacheEventDispatcherto the returned builder. - withEventExecutors(ExecutorService, ExecutorService) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds the default
CacheEventDispatcherusing the providedExecutorServiceto the returned builder. - withEventListeners(CacheEventListenerConfigurationBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Convenience method to add a
CacheEventListenerConfigurationbased on the providedCacheEventListenerConfigurationBuilderto the returned builder. - withEventListeners(CacheEventListenerConfiguration<?>...) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds one or more
CacheEventListenerConfigurationto the returned builder. - withEventListenersThreadPool(String) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Adds a
ServiceConfigurationfor theCacheEventDispatcherFactoryspecifying 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
EvictionAdvisorto the returned builder. - withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Deprecated.
- withExpiry(Expiry<? super K, ? super V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Deprecated.Use
UserManagedCacheBuilder.withExpiry(ExpiryPolicy)instead - withExpiry(ExpiryPolicy<? 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.UserManagedCacheBuilder
-
Adds
ExpiryPolicyconfiguration to the returned builder. - withKeyCopier(Class<? extends Copier<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withKeyCopier(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
Copierto the returned builder. - withKeySerializer(Class<? extends Serializer<K>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withKeySerializer(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
Serializerto 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 copyingusing the keySerializerto the returned builder. - 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.CacheConfigurationBuilder
- withLoaderWriter(CacheLoaderWriter<K, V>) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a
CacheLoaderWriterto 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
ResourcePoolofResourceTypein the returned builder. - withResilienceStrategy(Class<? extends ResilienceStrategy>, Object...) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withResilienceStrategy(ResilienceStrategy<K, V>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withResourcePools(ResourcePoolsBuilder) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Convenience method to add a
ResourcePoolsconfiguration based on the providedResourcePoolsBuilderto the returned builder. - withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withResourcePools(ResourcePools) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
Adds a
ResourcePoolsconfiguration to the returned builder. - withSerializer(Class<C>, Class<? extends Serializer<C>>) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default
Serializerfor 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(Class<? extends Copier<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withValueCopier(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
Copierto the returned builder. - withValueSerializer(Class<? extends Serializer<V>>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
- withValueSerializer(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
Serializerto 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 copyingusing the keySerializerto the returned builder. - WriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
The
WriteBehindConfigurationBuilderenables buildingWriteBehindConfigurations using a fluent style. - WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
Specialized
WriteBehindConfigurationBuilderforWriteBehindConfigurations that supports batching - WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-
Specialized
WriteBehindConfigurationBuilderforWriteBehindConfigurations without batching support
All Classes and Interfaces|All Packages
FluentCacheConfigurationBuilder.withService(Builder)