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 classAFactorythat instantiates a specific Class.static classAFactorythat always returns a specific instance.Fields in javax.cache.configuration declared as FactoryModifier and TypeFieldDescriptionprotected Factory<CacheLoader<K, V>> MutableConfiguration.cacheLoaderFactoryTheFactoryfor theCacheLoader.protected Factory<CacheWriter<? super K, ? super V>> MutableConfiguration.cacheWriterFactoryTheFactoryfor theCacheWriter.protected Factory<ExpiryPolicy> MutableConfiguration.expiryPolicyFactoryTheFactoryfor theExpiryPolicy.private Factory<CacheEntryEventFilter<? super K, ? super V>> MutableCacheEntryListenerConfiguration.filterFactoryTheFactoryto be used to create theCacheEntryEventFilter.private Factory<CacheEntryListener<? super K, ? super V>> MutableCacheEntryListenerConfiguration.listenerFactoryTheFactoryto be used to create theCacheEntryListener.Methods in javax.cache.configuration that return FactoryModifier and TypeMethodDescriptionstatic <T> Factory<T> Constructs aFactorythat will produce factory instances of the specified class.static <T> Factory<T> Constructs aFactorythat will produce factory instances of the specified class.static <T extends Serializable>
Factory<T> FactoryBuilder.factoryOf(T instance) Constructs aFactorythat will return the specified factory Serializable instance.Factory<CacheEntryEventFilter<? super K, ? super V>> CacheEntryListenerConfiguration.getCacheEntryEventFilterFactory()Obtains theFactoryfor theCacheEntryEventFilterthat should be applied prior to notifying theCacheEntryListener.Factory<CacheEntryEventFilter<? super K, ? super V>> MutableCacheEntryListenerConfiguration.getCacheEntryEventFilterFactory()Obtains theFactoryfor theCacheEntryEventFilterthat should be applied prior to notifying theCacheEntryListener.Factory<CacheEntryListener<? super K, ? super V>> CacheEntryListenerConfiguration.getCacheEntryListenerFactory()Obtains theFactoryfor theCacheEntryListener.Factory<CacheEntryListener<? super K, ? super V>> MutableCacheEntryListenerConfiguration.getCacheEntryListenerFactory()Obtains theFactoryfor theCacheEntryListener.Factory<CacheLoader<K, V>> CompleteConfiguration.getCacheLoaderFactory()Gets theFactoryfor theCacheLoader, if any.Factory<CacheLoader<K, V>> MutableConfiguration.getCacheLoaderFactory()Gets theFactoryfor theCacheLoader, if any.Factory<CacheWriter<? super K, ? super V>> CompleteConfiguration.getCacheWriterFactory()Gets theFactoryfor theCacheWriter, if any.Factory<CacheWriter<? super K, ? super V>> MutableConfiguration.getCacheWriterFactory()Gets theFactoryfor theCacheWriter, if any.CompleteConfiguration.getExpiryPolicyFactory()Gets theFactoryfor theExpiryPolicyto be used for caches.MutableConfiguration.getExpiryPolicyFactory()Gets theFactoryfor theExpiryPolicyto 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 theFactoryto be used to create aCacheEntryEventFilter.MutableCacheEntryListenerConfiguration.setCacheEntryListenerFactory(Factory<? extends CacheEntryListener<? super K, ? super V>> listenerFactory) Sets theFactoryto be used to create aCacheEntryListener.MutableConfiguration.setCacheLoaderFactory(Factory<? extends CacheLoader<K, V>> factory) Set theCacheLoaderfactory.MutableConfiguration.setCacheWriterFactory(Factory<? extends CacheWriter<? super K, ? super V>> factory) Set theCacheWriterfactory.MutableConfiguration.setExpiryPolicyFactory(Factory<? extends ExpiryPolicy> factory) Set theFactoryfor 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 aFactoryfor an AccessedExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a CreatedExpiryPolicy.static Factory<ExpiryPolicy> EternalExpiryPolicy.factoryOf()Obtains aFactoryfor an EternalExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a ModifiedExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a TouchedExpiryPolicy.