Uses of Interface
javax.cache.configuration.Factory
Packages that use Factory
Package
Description
This package contains configuration classes and interfaces.
This package contains expiry policies
-
Uses of Factory in javax.cache.configuration
Classes in javax.cache.configuration that implement FactoryModifier and TypeClassDescriptionstatic class
AFactory
that instantiates a specific Class.static class
AFactory
that always returns a specific instance.Fields in javax.cache.configuration declared as FactoryModifier and TypeFieldDescriptionprotected Factory
<CacheLoader<K, V>> MutableConfiguration.cacheLoaderFactory
TheFactory
for theCacheLoader
.protected Factory
<CacheWriter<? super K, ? super V>> MutableConfiguration.cacheWriterFactory
TheFactory
for theCacheWriter
.protected Factory
<ExpiryPolicy> MutableConfiguration.expiryPolicyFactory
TheFactory
for theExpiryPolicy
.private Factory
<CacheEntryEventFilter<? super K, ? super V>> MutableCacheEntryListenerConfiguration.filterFactory
TheFactory
to be used to create theCacheEntryEventFilter
.private Factory
<CacheEntryListener<? super K, ? super V>> MutableCacheEntryListenerConfiguration.listenerFactory
TheFactory
to be used to create theCacheEntryListener
.Methods in javax.cache.configuration that return FactoryModifier and TypeMethodDescriptionstatic <T> Factory
<T> Constructs aFactory
that will produce factory instances of the specified class.static <T> Factory
<T> Constructs aFactory
that will produce factory instances of the specified class.static <T extends Serializable>
Factory<T> FactoryBuilder.factoryOf
(T instance) Constructs aFactory
that will return the specified factory Serializable instance.Factory
<CacheEntryEventFilter<? super K, ? super V>> CacheEntryListenerConfiguration.getCacheEntryEventFilterFactory()
Obtains theFactory
for theCacheEntryEventFilter
that should be applied prior to notifying theCacheEntryListener
.Factory
<CacheEntryEventFilter<? super K, ? super V>> MutableCacheEntryListenerConfiguration.getCacheEntryEventFilterFactory()
Obtains theFactory
for theCacheEntryEventFilter
that should be applied prior to notifying theCacheEntryListener
.Factory
<CacheEntryListener<? super K, ? super V>> CacheEntryListenerConfiguration.getCacheEntryListenerFactory()
Obtains theFactory
for theCacheEntryListener
.Factory
<CacheEntryListener<? super K, ? super V>> MutableCacheEntryListenerConfiguration.getCacheEntryListenerFactory()
Obtains theFactory
for theCacheEntryListener
.Factory
<CacheLoader<K, V>> CompleteConfiguration.getCacheLoaderFactory()
Gets theFactory
for theCacheLoader
, if any.Factory
<CacheLoader<K, V>> MutableConfiguration.getCacheLoaderFactory()
Gets theFactory
for theCacheLoader
, if any.Factory
<CacheWriter<? super K, ? super V>> CompleteConfiguration.getCacheWriterFactory()
Gets theFactory
for theCacheWriter
, if any.Factory
<CacheWriter<? super K, ? super V>> MutableConfiguration.getCacheWriterFactory()
Gets theFactory
for theCacheWriter
, if any.CompleteConfiguration.getExpiryPolicyFactory()
Gets theFactory
for theExpiryPolicy
to be used for caches.MutableConfiguration.getExpiryPolicyFactory()
Gets theFactory
for theExpiryPolicy
to be used for caches.Methods in javax.cache.configuration with parameters of type FactoryModifier and TypeMethodDescriptionMutableCacheEntryListenerConfiguration.setCacheEntryEventFilterFactory
(Factory<? extends CacheEntryEventFilter<? super K, ? super V>> filterFactory) Sets theFactory
to be used to create aCacheEntryEventFilter
.MutableCacheEntryListenerConfiguration.setCacheEntryListenerFactory
(Factory<? extends CacheEntryListener<? super K, ? super V>> listenerFactory) Sets theFactory
to be used to create aCacheEntryListener
.MutableConfiguration.setCacheLoaderFactory
(Factory<? extends CacheLoader<K, V>> factory) Set theCacheLoader
factory.MutableConfiguration.setCacheWriterFactory
(Factory<? extends CacheWriter<? super K, ? super V>> factory) Set theCacheWriter
factory.MutableConfiguration.setExpiryPolicyFactory
(Factory<? extends ExpiryPolicy> factory) Set theFactory
for theExpiryPolicy
.Constructors in javax.cache.configuration with parameters of type FactoryModifierConstructorDescriptionMutableCacheEntryListenerConfiguration
(Factory<? extends CacheEntryListener<? super K, ? super V>> listenerFactory, Factory<? extends CacheEntryEventFilter<? super K, ? super V>> filterFactory, boolean isOldValueRequired, boolean isSynchronous) Constructs aMutableCacheEntryListenerConfiguration
. -
Uses of Factory in javax.cache.expiry
Methods in javax.cache.expiry that return FactoryModifier and TypeMethodDescriptionstatic Factory
<ExpiryPolicy> Obtains aFactory
for an AccessedExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a CreatedExpiryPolicy
.static Factory
<ExpiryPolicy> EternalExpiryPolicy.factoryOf()
Obtains aFactory
for an EternalExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a ModifiedExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a TouchedExpiryPolicy
.