- 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
-
- 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
-
- 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.
- 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
-
- 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.
- 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
-
- 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
-
- WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder - Class in org.ehcache.config.builders
-