- AbstractResourcePool<P extends org.ehcache.config.ResourcePool,T extends org.ehcache.config.ResourceType<P>> - Class in org.ehcache.impl.config
-
Foundation implementation for ResourcePool implementations.
- AbstractResourcePool(T, boolean) - Constructor for class org.ehcache.impl.config.AbstractResourcePool
-
Creates a AbstractResourcePool instance.
- 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
-
- addCache(String, CacheConfiguration<?, ?>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
-
- addCopierFor(Class<T>, Class<? extends Copier<T>>) - Method in class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
Adds a new Class - Copier pair to this configuration object
- addCopierFor(Class<T>, Class<? extends Copier<T>>, boolean) - Method in class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
Adds a new Class - Copier pair to this configuration object
- addDefaultPool(String, int, int) - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
Adds a new default pool with the provided minimum and maximum.
- addLoaderFor(String, Class<? extends CacheLoaderWriter<?, ?>>, Object...) - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
-
Adds a default CacheLoaderWriter class and associated constuctor arguments to be used with a cache matching
the provided alias.
- addPool(String, int, int) - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
Adds a new pool with the provided minimum and maximum.
- addResilienceStrategyFor(String, Class<? extends ResilienceStrategy>, Object...) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
Adds a ResilienceStrategy class and associated constructor arguments to be used with a cache matching
the provided alias.
- addResilienceStrategyFor(String, ResilienceStrategy<?, ?>) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
Adds a ResilienceStrategy instance to be used with a cache matching the provided alias.
- addSerializerFor(Class<T>, Class<? extends Serializer<T>>) - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
Adds a new Serializer mapping for the class serializableClass
- addSerializerFor(Class<T>, Class<? extends Serializer<T>>, boolean) - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
Adds a new Serializer mapping for the class serializableClass
- addService(ServiceCreationConfiguration<?, ?>) - Method in class org.ehcache.config.builders.ConfigurationBuilder
-
- 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.
- BaseCacheConfiguration<K,V> - Class in org.ehcache.impl.config
-
Base implementation of CacheConfiguration.
- BaseCacheConfiguration(Class<K>, Class<V>, EvictionAdvisor<? super K, ? super V>, ClassLoader, ExpiryPolicy<? super K, ? super V>, ResourcePools, ServiceConfiguration<?, ?>...) - Constructor for class org.ehcache.impl.config.BaseCacheConfiguration
-
Creates a new BaseCacheConfiguration from the given parameters.
- BaseStore<K,V> - Class in org.ehcache.impl.store
-
Base class to most stores.
- BaseStore(Store.Configuration<K, V>, StatisticsService) - Constructor for class org.ehcache.impl.store.BaseStore
-
- BaseStore(Class<K>, Class<V>, boolean, StatisticsService) - Constructor for class org.ehcache.impl.store.BaseStore
-
- BaseStore.BaseStoreProvider - Class in org.ehcache.impl.store
-
- BaseStoreProvider() - Constructor for class org.ehcache.impl.store.BaseStore.BaseStoreProvider
-
- batchSize(int) - Method in class org.ehcache.config.builders.WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder
-
Updates the batch size on the returned builder.
- bind(RecoveryStore<?>, CacheLoaderWriter<?, ?>) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
Returns a configuration object bound to the given store and cache loader-writer.
- bind(RecoveryStore<?>) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
Returns a configuration object bound to the given store.
- 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
-
- 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
- build(DefaultCopyProviderConfiguration) - Method in class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
- build(String) - Method in class org.ehcache.impl.config.event.CacheEventDispatcherFactoryConfiguration
-
- build(String) - Method in class org.ehcache.impl.config.event.DefaultCacheEventDispatcherConfiguration
-
- build(Integer) - Method in class org.ehcache.impl.config.event.DefaultEventSourceConfiguration
-
- build(PooledExecutionServiceConfigurationBuilder) - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
- build(DefaultCacheLoaderWriterConfiguration) - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterConfiguration
-
- build(DefaultCacheLoaderWriterProviderConfiguration) - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
-
- build(String) - Method in class org.ehcache.impl.config.loaderwriter.writebehind.WriteBehindProviderConfiguration
-
- build(File) - Method in class org.ehcache.impl.config.persistence.DefaultPersistenceConfiguration
-
- build(DefaultResilienceStrategyConfiguration) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
- build(DefaultResilienceStrategyProviderConfiguration) - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
- build(DefaultSerializationProviderConfiguration) - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
- build(OffHeapDiskStoreConfiguration) - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
- build(String) - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreProviderConfiguration
-
- build(DefaultSizeOfEngineConfiguration) - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
- build(DefaultSizeOfEngineProviderConfiguration) - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
- builder(CacheManagerBuilder<? extends CacheManager>) - Method in interface org.ehcache.config.builders.CacheManagerConfiguration
-
- builder(UserManagedCacheBuilder<K, V, ? extends UserManagedCache<K, V>>) - Method in interface org.ehcache.config.builders.UserManagedCacheConfiguration
-
- builder(CacheManagerBuilder<? extends CacheManager>) - Method in class org.ehcache.impl.config.persistence.CacheManagerPersistenceConfiguration
-
Transforms the builder received in one that returns a PersistentCacheManager.
- builder(UserManagedCacheBuilder<K, V, ? extends UserManagedCache<K, V>>) - Method in class org.ehcache.impl.config.persistence.UserManagedPersistenceContext
-
Transforms the builder received in one that returns a PersistentUserManagedCache.
- 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.
- CacheConfigurationBuilder<K,V> - Class in org.ehcache.config.builders
-
The CacheConfigurationBuilder enables building CacheConfigurations using a fluent style.
- CacheEventAdapter<K,V> - Class in org.ehcache.impl.events
-
Adapter for cache event listener implementation that splits the event based on its type
to specific methods.
- CacheEventAdapter() - Constructor for class org.ehcache.impl.events.CacheEventAdapter
-
- CacheEventDispatcherFactoryConfiguration - Class in org.ehcache.impl.config.event
-
ServiceCreationConfiguration class for the default CacheEventDispatcherFactory.
- CacheEventDispatcherFactoryConfiguration(String) - Constructor for class org.ehcache.impl.config.event.CacheEventDispatcherFactoryConfiguration
-
Creates a new configuration with the provided default pool alias.
- CacheEventDispatcherImpl<K,V> - Class in org.ehcache.impl.events
-
Per-cache component that manages cache event listener registrations, and provides event delivery based on desired
firing mode for specified event types.
- CacheEventDispatcherImpl(ExecutorService, ExecutorService) - Constructor for class org.ehcache.impl.events.CacheEventDispatcherImpl
-
Creates a new CacheEventDispatcher instance that will use the provided ExecutorService to handle
events firing.
- 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.
- CacheManagerPersistenceConfiguration - Class in org.ehcache.impl.config.persistence
-
Convenience configuration type that enables the
CacheManagerBuilder to return a more specific type of
CacheManager, that is a
PersistentCacheManager.
- CacheManagerPersistenceConfiguration(File) - Constructor for class org.ehcache.impl.config.persistence.CacheManagerPersistenceConfiguration
-
Creates a new configuration object with the provided parameters.
- 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.
- checkKey(K) - Method in class org.ehcache.impl.store.BaseStore
-
- checkValue(V) - Method in class org.ehcache.impl.store.BaseStore
-
- 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.
- compatibleWith(ServiceConfiguration<?, ?>) - Method in class org.ehcache.impl.config.copy.DefaultCopierConfiguration
-
- compatibleWith(ServiceConfiguration<?, ?>) - Method in class org.ehcache.impl.config.event.DefaultCacheEventListenerConfiguration
-
- compatibleWith(ServiceConfiguration<?, ?>) - Method in class org.ehcache.impl.config.serializer.DefaultSerializerConfiguration
-
- 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.
- createObserver(String, Class<T>, boolean) - Method in class org.ehcache.impl.store.BaseStore
-
Create an OperationObserver using this for the context.
- createPersistenceContextWithin(PersistableResourceService.PersistenceSpaceIdentifier<?>, String) - Method in class org.ehcache.impl.persistence.DefaultDiskResourceService
- createSafeSpace(LocalPersistenceService.SafeSpaceIdentifier) - Method in class org.ehcache.impl.persistence.DefaultLocalPersistenceService
- createSafeSpaceIdentifier(String, String) - Method in class org.ehcache.impl.persistence.DefaultLocalPersistenceService
- createTranslatedStatistic(BaseStore<K, V>, String, Map<T, Set<S>>, String) - Method in class org.ehcache.impl.store.BaseStore.BaseStoreProvider
-
- DEFAULT_DISK_SEGMENTS - Static variable in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
- DEFAULT_MAX_OBJECT_SIZE - Static variable in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Default maximum object size after which sizing stops
- DEFAULT_OBJECT_GRAPH_SIZE - Static variable in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Default maximum object graph count after which sizing stops
- DEFAULT_UNIT - Static variable in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Default maximum object size unit after which sizing stops
- DEFAULT_WRITER_CONCURRENCY - Static variable in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
- DefaultBatchingConfiguration - Class in org.ehcache.impl.config.loaderwriter.writebehind
-
Configuration class for write-behind batching.
- DefaultBatchingConfiguration(long, TimeUnit, int, boolean) - Constructor for class org.ehcache.impl.config.loaderwriter.writebehind.DefaultBatchingConfiguration
-
Creates a new configuration with the provided parameters.
- DefaultCacheEventDispatcherConfiguration - Class in org.ehcache.impl.config.event
-
ServiceConfiguration for the default CacheEventDispatcherFactory implementation.
- DefaultCacheEventDispatcherConfiguration(String) - Constructor for class org.ehcache.impl.config.event.DefaultCacheEventDispatcherConfiguration
-
Creates a new configuration with the provided pool alias
- DefaultCacheEventListenerConfiguration - Class in org.ehcache.impl.config.event
-
ServiceConfiguration for the default CacheEventListenerProvider.
- DefaultCacheEventListenerConfiguration(Set<EventType>, Class<? extends CacheEventListener<?, ?>>, Object...) - Constructor for class org.ehcache.impl.config.event.DefaultCacheEventListenerConfiguration
-
Creates a new DefaultCacheEventListenerConfiguration with the provided parameters.
- DefaultCacheEventListenerConfiguration(Set<EventType>, CacheEventListener<?, ?>) - Constructor for class org.ehcache.impl.config.event.DefaultCacheEventListenerConfiguration
-
Creates a new DefaultCacheEventListenerConfiguration with the provided parameters.
- DefaultCacheLoaderWriterConfiguration - Class in org.ehcache.impl.config.loaderwriter
-
ServiceConfiguration for the default CacheLoaderWriterProvider.
- DefaultCacheLoaderWriterConfiguration(Class<? extends CacheLoaderWriter<?, ?>>, Object...) - Constructor for class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterConfiguration
-
Creates a new configuration object with the specified CacheLoaderWriter class and associated constructor
arguments.
- DefaultCacheLoaderWriterConfiguration(CacheLoaderWriter<?, ?>) - Constructor for class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterConfiguration
-
Creates a new configuration with the specified CacheLoaderWriter instance.
- DefaultCacheLoaderWriterConfiguration(DefaultCacheLoaderWriterConfiguration) - Constructor for class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterConfiguration
-
- DefaultCacheLoaderWriterProviderConfiguration - Class in org.ehcache.impl.config.loaderwriter
-
ServiceCreationConfiguration for the default CacheLoaderWriterProvider.
- DefaultCacheLoaderWriterProviderConfiguration() - Constructor for class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
-
- DefaultCacheLoaderWriterProviderConfiguration(DefaultCacheLoaderWriterProviderConfiguration) - Constructor for class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
-
- DefaultCopierConfiguration<T> - Class in org.ehcache.impl.config.copy
-
ServiceConfiguration for the default CopyProvider implementation.
- DefaultCopierConfiguration(Class<? extends Copier<T>>, DefaultCopierConfiguration.Type) - Constructor for class org.ehcache.impl.config.copy.DefaultCopierConfiguration
-
- DefaultCopierConfiguration(Copier<T>, DefaultCopierConfiguration.Type) - Constructor for class org.ehcache.impl.config.copy.DefaultCopierConfiguration
-
- DefaultCopierConfiguration.Type - Enum in org.ehcache.impl.config.copy
-
Copy provider types
- DefaultCopyProviderConfiguration - Class in org.ehcache.impl.config.copy
-
ServiceCreationConfiguration for the default CopyProvider implementation.
- DefaultCopyProviderConfiguration() - Constructor for class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
Default constructor.
- DefaultCopyProviderConfiguration(DefaultCopyProviderConfiguration) - Constructor for class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
Copy constructor
- DefaultDiskResourceService - Class in org.ehcache.impl.persistence
-
Default implementation of the DiskResourceService which can be used explicitly when
persistent user managed caches are desired.
- DefaultDiskResourceService() - Constructor for class org.ehcache.impl.persistence.DefaultDiskResourceService
-
- DefaultEventSourceConfiguration - Class in org.ehcache.impl.config.event
-
ServiceConfiguration for a Store.Provider
related to StoreEvents.
- DefaultEventSourceConfiguration(int) - Constructor for class org.ehcache.impl.config.event.DefaultEventSourceConfiguration
-
Creates a new configuration with the provided dispatcher concurrency for ordered events.
- DefaultLocalPersistenceService - Class in org.ehcache.impl.persistence
-
Implements the local persistence service that provides individual sub-spaces for different
services.
- DefaultLocalPersistenceService(DefaultPersistenceConfiguration) - Constructor for class org.ehcache.impl.persistence.DefaultLocalPersistenceService
-
Creates a new service instance using the provided configuration.
- DefaultPersistenceConfiguration - Class in org.ehcache.impl.config.persistence
-
ServiceCreationConfiguration for the default LocalPersistenceService.
- DefaultPersistenceConfiguration(File) - Constructor for class org.ehcache.impl.config.persistence.DefaultPersistenceConfiguration
-
Creates a new configuration object with the provided parameters.
- defaultPool(String, int, int) - Method in class org.ehcache.config.builders.PooledExecutionServiceConfigurationBuilder
-
Adds a default pool configuration to the returned builder.
- DefaultResilienceStrategyConfiguration - Class in org.ehcache.impl.config.resilience
-
ServiceConfiguration for the default ResilienceStrategyProvider.
- DefaultResilienceStrategyConfiguration(Class<? extends ResilienceStrategy>, Object...) - Constructor for class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
Creates a resilience strategy configuration that instantiates instances of the given class on demand.
- DefaultResilienceStrategyConfiguration(ResilienceStrategy<?, ?>) - Constructor for class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
Creates a resilience strategy configuration that uses the supplies instance.
- DefaultResilienceStrategyConfiguration(DefaultResilienceStrategyConfiguration) - Constructor for class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
- DefaultResilienceStrategyProviderConfiguration - Class in org.ehcache.impl.config.resilience
-
ServiceCreationConfiguration for the default ResilienceStrategyProvider.
- DefaultResilienceStrategyProviderConfiguration() - Constructor for class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
- DefaultSerializationProviderConfiguration - Class in org.ehcache.impl.config.serializer
-
ServiceCreationConfiguration for the default SerializationProvider.
- DefaultSerializationProviderConfiguration() - Constructor for class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
Creates a new configuration instance.
- DefaultSerializationProviderConfiguration(DefaultSerializationProviderConfiguration) - Constructor for class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
Copy constructor
- DefaultSerializerConfiguration<T> - Class in org.ehcache.impl.config.serializer
-
ServiceConfiguration for the default SerializationProvider.
- DefaultSerializerConfiguration(Class<? extends Serializer<T>>, DefaultSerializerConfiguration.Type) - Constructor for class org.ehcache.impl.config.serializer.DefaultSerializerConfiguration
-
Creates a new serializer configuration with the given
Serializer class and
type.
- DefaultSerializerConfiguration(Serializer<T>, DefaultSerializerConfiguration.Type) - Constructor for class org.ehcache.impl.config.serializer.DefaultSerializerConfiguration
-
Creates a new serializer configuration with the given
Serializer instance and
type.
- DefaultSerializerConfiguration.Type - Enum in org.ehcache.impl.config.serializer
-
Serialization provider types
- DefaultSizeOfEngineConfiguration - Class in org.ehcache.impl.config.store.heap
-
ServiceConfiguration for the default SizeOfEngineProvider.
- DefaultSizeOfEngineConfiguration(long, MemoryUnit, long) - Constructor for class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Creates a new configuration object with the provided parameters.
- DefaultSizeOfEngineProviderConfiguration - Class in org.ehcache.impl.config.store.heap
-
ServiceCreationConfiguration for the default SizeOfEngineProvider.
- DefaultSizeOfEngineProviderConfiguration(long, MemoryUnit, long) - Constructor for class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
Creates a new configuration object with the provided parameters.
- DefaultStoreEventDispatcher<K,V> - Class in org.ehcache.impl.store
-
The default StoreEventDispatcher implementation.
- DefaultStoreEventDispatcher(int) - Constructor for class org.ehcache.impl.store.DefaultStoreEventDispatcher
-
- DefaultWriteBehindConfiguration - Class in org.ehcache.impl.config.loaderwriter.writebehind
-
ServiceConfiguration for the default WriteBehindProvider.
- DefaultWriteBehindConfiguration(String, int, int, WriteBehindConfiguration.BatchingConfiguration) - Constructor for class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
-
Creates a new configuration with the provided parameters.
- deregisterCacheEventListener(CacheEventListener<? super K, ? super V>) - Method in class org.ehcache.impl.events.CacheEventDispatcherImpl
- derive() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
-
- derive() - Method in class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.event.CacheEventDispatcherFactoryConfiguration
-
- derive() - Method in class org.ehcache.impl.config.event.DefaultCacheEventDispatcherConfiguration
-
- derive() - Method in class org.ehcache.impl.config.event.DefaultEventSourceConfiguration
-
- derive() - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
- derive() - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterConfiguration
-
- derive() - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.WriteBehindProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.persistence.DefaultPersistenceConfiguration
-
- derive() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
- derive() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
- derive() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreProviderConfiguration
-
- derive() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
- derive() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
- destroy(String) - Method in class org.ehcache.impl.persistence.DefaultDiskResourceService
- destroyAll() - Method in class org.ehcache.impl.persistence.DefaultDiskResourceService
- destroyAll(String) - Method in class org.ehcache.impl.persistence.DefaultLocalPersistenceService
- destroySafeSpace(LocalPersistenceService.SafeSpaceIdentifier, boolean) - Method in class org.ehcache.impl.persistence.DefaultLocalPersistenceService
- 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.
- get(K) - Method in class org.ehcache.impl.serialization.TransientStateHolder
-
- getBatchingConfiguration() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
- getBatchSize() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultBatchingConfiguration
- getClassLoader() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getConcurrency() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
- getConfigurationChangeListeners() - Method in class org.ehcache.impl.events.CacheEventDispatcherImpl
- getDefaultConfiguration() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
Returns the default resilience strategy configuration used for caches without loader-writers
- getDefaultLoaderWriterConfiguration() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
Returns the default resilience strategy configuration used for caches with loader-writers
- getDefaultPoolAlias() - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
Returns the default pool alias, or null if none configured.
- getDefaultSerializers() - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
-
Returns the map of class to serializer class for persistent serializers.
- getDiskSegments() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Returns the number of disk segments created
- getDispatcherConcurrency() - Method in class org.ehcache.impl.config.event.DefaultEventSourceConfiguration
- getEvictionAdvisor() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getExistingServiceConfiguration(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExistingServiceConfigurations(Class<T>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getExpiry() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getExpiryPolicy() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getKeyType() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getMaxDelay() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultBatchingConfiguration
- getMaxDelayUnit() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultBatchingConfiguration
- getMaxObjectGraphSize() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Returns the maximum object graph size before aborting sizing.
- getMaxObjectGraphSize() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
Returns the maximum object graph size before aborting sizing.
- getMaxObjectSize() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Returns the maximum object size before aborting sizing.
- getMaxObjectSize() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
Returns the maximum object size before aborting sizing.
- getMaxQueueSize() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
- getPersistenceSpaceIdentifier(String, CacheConfiguration<?, ?>) - Method in class org.ehcache.impl.persistence.DefaultDiskResourceService
- getPersistentStateHolder(String, Class<K>, Class<V>, Predicate<Class<?>>, ClassLoader) - Method in class org.ehcache.impl.serialization.TransientStateRepository
-
- getPoolConfigurations() - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
-
- getPoolForResource(ResourceType<P>) - Method in class org.ehcache.impl.config.ResourcePoolsImpl
- getResourcePools() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getResourceType() - Method in class org.ehcache.impl.store.BaseStore.BaseStoreProvider
-
- getResourceTypeSet() - Method in class org.ehcache.impl.config.ResourcePoolsImpl
- getRootDirectory() - Method in class org.ehcache.impl.config.persistence.DefaultPersistenceConfiguration
-
Returns the root directory to use for local persistence.
- getSerializer() - Method in class org.ehcache.impl.copy.SerializingCopier
-
Returns the Serializer used by this copier.
- getServiceConfigurations() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getServiceProvider() - Method in class org.ehcache.impl.store.BaseStore.BaseStoreProvider
-
- getServices(Class<C>) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- getServiceType() - Method in class org.ehcache.impl.config.copy.DefaultCopierConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.copy.DefaultCopyProviderConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.event.CacheEventDispatcherFactoryConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.event.DefaultCacheEventDispatcherConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.event.DefaultCacheEventListenerConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.event.DefaultEventSourceConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.loaderwriter.DefaultCacheLoaderWriterProviderConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.WriteBehindProviderConfiguration
-
- getServiceType() - Method in class org.ehcache.impl.config.persistence.DefaultPersistenceConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyConfiguration
-
- getServiceType() - Method in class org.ehcache.impl.config.resilience.DefaultResilienceStrategyProviderConfiguration
-
- getServiceType() - Method in class org.ehcache.impl.config.serializer.DefaultSerializationProviderConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.serializer.DefaultSerializerConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreProviderConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
- getServiceType() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
- getSize() - Method in class org.ehcache.impl.config.SizedResourcePoolImpl
- getStateRepositoryWithin(PersistableResourceService.PersistenceSpaceIdentifier<?>, String) - Method in class org.ehcache.impl.persistence.DefaultDiskResourceService
- getStatisticsService() - Method in class org.ehcache.impl.store.BaseStore.BaseStoreProvider
-
- getStatisticsTag() - Method in class org.ehcache.impl.store.BaseStore
-
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.event.CacheEventDispatcherFactoryConfiguration
-
Returns the default thread pool alias.
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.event.DefaultCacheEventDispatcherConfiguration
-
Returns the thread pool alias.
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.DefaultWriteBehindConfiguration
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.loaderwriter.writebehind.WriteBehindProviderConfiguration
-
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Returns the configured thread pool alias.
- getThreadPoolAlias() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreProviderConfiguration
-
Returns the configured thread pool alias.
- getType() - Method in class org.ehcache.impl.config.AbstractResourcePool
- getType() - Method in class org.ehcache.impl.config.copy.DefaultCopierConfiguration
-
- getType() - Method in class org.ehcache.impl.config.serializer.DefaultSerializerConfiguration
-
Get the type of the serializer configured
- getUnit() - Method in class org.ehcache.impl.config.SizedResourcePoolImpl
- getUnit() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineConfiguration
-
Returns the maximum object size unit.
- getUnit() - Method in class org.ehcache.impl.config.store.heap.DefaultSizeOfEngineProviderConfiguration
-
Returns the maximum object size unit.
- getValueType() - Method in class org.ehcache.impl.config.BaseCacheConfiguration
- getWriterConcurrency() - Method in class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Returns the configured writer concurrency
- 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.
- offheap(long, MemoryUnit) - Method in class org.ehcache.config.builders.ResourcePoolsBuilder
-
Convenience method to add an offheap pool.
- OffHeapDiskStoreConfiguration - Class in org.ehcache.impl.config.store.disk
-
ServiceConfiguration for the default off heap disk store.
- OffHeapDiskStoreConfiguration(int) - Constructor for class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Creates a new configuration instance using the provided diskSegments.
- OffHeapDiskStoreConfiguration(String, int) - Constructor for class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Creates a new configuration instance using the provided parameters.
- OffHeapDiskStoreConfiguration(String, int, int) - Constructor for class org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration
-
Creates a new configuration instance using the provided parameters.
- OffHeapDiskStoreProviderConfiguration - Class in org.ehcache.impl.config.store.disk
-
ServiceCreationConfiguration for the default off heap disk store.
- OffHeapDiskStoreProviderConfiguration(String) - Constructor for class org.ehcache.impl.config.store.disk.OffHeapDiskStoreProviderConfiguration
-
Creates a new configuration instance using the provided parameter.
- onCreation(K, V) - Method in class org.ehcache.impl.events.CacheEventAdapter
-
Invoked when a CacheEvent for a creation is received.
- onEvent(CacheEvent<? extends K, ? extends V>) - Method in class org.ehcache.impl.events.CacheEventAdapter
- onEviction(K, V) - Method in class org.ehcache.impl.events.CacheEventAdapter
-
Invoked when a CacheEvent for an eviction is received.
- onExpiry(K, V) - Method in class org.ehcache.impl.events.CacheEventAdapter
-
Invoked when a CacheEvent for an expiration is received.
- onRemoval(K, V) - Method in class org.ehcache.impl.events.CacheEventAdapter
-
Invoked when a CacheEvent for a removal is received.
- onUpdate(K, V, V) - Method in class org.ehcache.impl.events.CacheEventAdapter
-
Invoked when a CacheEvent for an update is received.
- operationStatisticsEnabled - Variable in class org.ehcache.impl.store.BaseStore
-
Tells if this store is by itself or in a tiered setup
- ordered() - Method in class org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
-
Sets the returned builder for ordered event processing.
- orderingMode() - Method in class org.ehcache.impl.config.event.DefaultCacheEventListenerConfiguration
- 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.config - package org.ehcache.impl.config
-
- org.ehcache.impl.config.copy - package org.ehcache.impl.config.copy
-
Package for configuration classes for default CopyProvider implementation.
- org.ehcache.impl.config.event - package org.ehcache.impl.config.event
-
Package for configuration classes for default events related services.
- org.ehcache.impl.config.executor - package org.ehcache.impl.config.executor
-
Package for configuration of the pooled ExecutionService.
- org.ehcache.impl.config.loaderwriter - package org.ehcache.impl.config.loaderwriter
-
Package for configuration classes for default loader writer
provider.
- org.ehcache.impl.config.loaderwriter.writebehind - package org.ehcache.impl.config.loaderwriter.writebehind
-
Package for configuration classes for default write-behind
provider.
- org.ehcache.impl.config.persistence - package org.ehcache.impl.config.persistence
-
Package for configuration classes for the default local
persistence service implementation.
- org.ehcache.impl.config.resilience - package org.ehcache.impl.config.resilience
-
- org.ehcache.impl.config.serializer - package org.ehcache.impl.config.serializer
-
Package for configuration classes for the default serialization provider.
- org.ehcache.impl.config.store.disk - package org.ehcache.impl.config.store.disk
-
Package for configuration classes for the default disk store implementation.
- org.ehcache.impl.config.store.heap - package org.ehcache.impl.config.store.heap
-
Package for configuration classes for the default sizeof
engine provider implementation used by the on heap store.
- org.ehcache.impl.copy - package org.ehcache.impl.copy
-
Package for bundled implementation of copiers.
- org.ehcache.impl.events - package org.ehcache.impl.events
-
Package for implementation classes related to cache eventing.
- org.ehcache.impl.persistence - package org.ehcache.impl.persistence
-
Pacakge for default implementation related to the local
persistence service.
- org.ehcache.impl.serialization - package org.ehcache.impl.serialization
-
Package for bundled implementations of serializers.
- org.ehcache.impl.store - package org.ehcache.impl.store
-
- 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
-
- 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
-
- 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
-
Adds a default SizeOfEngine configuration, that limits the max object graph to
size, to the returned builder.
- withDefaultSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
Adds a default SizeOfEngine configuration, that limits the max object size, to
the returned builder.
- withDefaultSizeOfSettings() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
Restores the default size-of settings.
- withDefaultValueSerializer() - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withDefaultWriteBehindThreadPool(String) - Method in class org.ehcache.config.builders.CacheManagerBuilder
-
- 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
-
- withSizeOfMaxObjectGraph(long) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.CacheConfigurationBuilder
-
- withSizeOfMaxObjectSize(long, MemoryUnit) - Method in class org.ehcache.config.builders.UserManagedCacheBuilder
-
- 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
-
- WriteBehindProviderConfiguration - Class in org.ehcache.impl.config.loaderwriter.writebehind
-
- WriteBehindProviderConfiguration(String) - Constructor for class org.ehcache.impl.config.loaderwriter.writebehind.WriteBehindProviderConfiguration
-