Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AccessedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was accessed. - AccessedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.AccessedExpiryPolicy
-
Constructs an
AccessedExpiryPolicyExpiryPolicy. - addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration) - Method in class javax.cache.configuration.MutableConfiguration
-
Add a configuration for a
CacheEntryListener. - afterInvocation() - Element in annotation type javax.cache.annotation.CachePut
-
When
Cache.put(Object, Object)should be called. - afterInvocation() - Element in annotation type javax.cache.annotation.CacheRemove
-
When
Cache.remove(Object)should be called. - afterInvocation() - Element in annotation type javax.cache.annotation.CacheRemoveAll
-
When
Cache.removeAll()should be called. - A Simple Example - Section in package javax.cache
C
- Cache<K,
V> - Interface in javax.cache -
A
Cacheis a Map-like data structure that provides temporary storage of application data. - Cache.Entry<K,
V> - Interface in javax.cache -
A cache entry (key-value pair).
- CacheDefaults - Annotation Type in javax.cache.annotation
-
Allows the configuration of defaults for
CacheResult,CachePut,CacheRemove, andCacheRemoveAllat the class level. - cachedExceptions() - Element in annotation type javax.cache.annotation.CacheResult
- CacheEntryCreatedListener<K,
V> - Interface in javax.cache.event -
Invoked after a cache entry is created, or if a batch call is made, after the entries are created.
- CacheEntryEvent<K,
V> - Class in javax.cache.event -
A Cache entry event base class.
- CacheEntryEvent(Cache, EventType) - Constructor for class javax.cache.event.CacheEntryEvent
-
Constructs a cache entry event from a given cache as source
- CacheEntryEventFilter<K,
V> - Interface in javax.cache.event -
A function that may be used to check
CacheEntryEvents prior to being dispatched toCacheEntryListeners. - CacheEntryExpiredListener<K,
V> - Interface in javax.cache.event -
Invoked if a cache entry or entries are evicted due to expiration.
- CacheEntryListener<K,
V> - Interface in javax.cache.event -
A tagging interface for cache entry listeners.
- CacheEntryListenerConfiguration<K,
V> - Interface in javax.cache.configuration -
Defines the configuration requirements for a
CacheEntryListenerand aFactoryfor its creation. - CacheEntryListenerException - Exception Class in javax.cache.event
-
An exception to indicate a problem has occurred with a listener.
- CacheEntryListenerException() - Constructor for exception class javax.cache.event.CacheEntryListenerException
-
Constructs a new CacheEntryListenerException.
- CacheEntryListenerException(String) - Constructor for exception class javax.cache.event.CacheEntryListenerException
-
Constructs a new CacheEntryListenerException with a message string.
- CacheEntryListenerException(String, Throwable) - Constructor for exception class javax.cache.event.CacheEntryListenerException
-
Constructs a CacheEntryListenerException with a message string, and a base exception
- CacheEntryListenerException(Throwable) - Constructor for exception class javax.cache.event.CacheEntryListenerException
-
Constructs a new CacheEntryListenerException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause).
- CacheEntryRemovedListener<K,
V> - Interface in javax.cache.event -
Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.
- CacheEntryUpdatedListener<K,
V> - Interface in javax.cache.event -
Invoked if an existing cache entry is updated, or if a batch call is made, after the entries are updated.
- CacheException - Exception Class in javax.cache
-
Thrown to indicate an exception has occurred in the Cache.
- CacheException() - Constructor for exception class javax.cache.CacheException
-
Constructs a new CacheException.
- CacheException(String) - Constructor for exception class javax.cache.CacheException
-
Constructs a new CacheException with a message string.
- CacheException(String, Throwable) - Constructor for exception class javax.cache.CacheException
-
Constructs a CacheException with a message string, and a base exception
- CacheException(Throwable) - Constructor for exception class javax.cache.CacheException
-
Constructs a new CacheException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause).
- cacheFor() - Element in annotation type javax.cache.annotation.CachePut
- CacheInvocationContext<A> - Interface in javax.cache.annotation
-
Runtime information about an intercepted method invocation for a method annotated with
CacheResult,CachePut,CacheRemove, orCacheRemoveAll - CacheInvocationParameter - Interface in javax.cache.annotation
-
A parameter to an intercepted method invocation.
- CacheKey - Annotation Type in javax.cache.annotation
-
Marks a method argument as part of the cache key.
- cacheKeyGenerator() - Element in annotation type javax.cache.annotation.CacheDefaults
-
The
CacheKeyGeneratorto use to generate theGeneratedCacheKeyfor interacting with the specified Cache. - cacheKeyGenerator() - Element in annotation type javax.cache.annotation.CachePut
-
The
CacheKeyGeneratorto use to generate theGeneratedCacheKeyfor interacting with the specified Cache. - cacheKeyGenerator() - Element in annotation type javax.cache.annotation.CacheRemove
-
The
CacheKeyGeneratorto use to generate theGeneratedCacheKeyfor interacting with the specified Cache. - cacheKeyGenerator() - Element in annotation type javax.cache.annotation.CacheResult
-
The
CacheKeyGeneratorto use to generate theGeneratedCacheKeyfor interacting with the specified Cache. - CacheKeyGenerator - Interface in javax.cache.annotation
-
Generates a
GeneratedCacheKeybased on aCacheKeyInvocationContext. - CacheKeyInvocationContext<A> - Interface in javax.cache.annotation
-
Runtime information about an intercepted method invocation for a method annotated with
CacheResult,CachePut, orCacheRemove. - CacheLoader<K,
V> - Interface in javax.cache.integration -
Used when a cache is read-through or when loading data into a cache via the
Cache.loadAll(java.util.Set, boolean, CompletionListener)method. - CacheLoaderException - Exception Class in javax.cache.integration
-
An exception to indicate a problem has occurred executing a
CacheLoader. - CacheLoaderException() - Constructor for exception class javax.cache.integration.CacheLoaderException
-
Constructs a new CacheLoaderException.
- CacheLoaderException(String) - Constructor for exception class javax.cache.integration.CacheLoaderException
-
Constructs a new CacheLoaderException with a message string.
- CacheLoaderException(String, Throwable) - Constructor for exception class javax.cache.integration.CacheLoaderException
-
Constructs a CacheLoaderException with a message string, and a base exception
- CacheLoaderException(Throwable) - Constructor for exception class javax.cache.integration.CacheLoaderException
-
Constructs a new CacheLoaderException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause).
- cacheLoaderFactory - Variable in class javax.cache.configuration.MutableConfiguration
-
The
Factoryfor theCacheLoader. - CacheManager - Interface in javax.cache
-
A
CacheManagerprovides a means of establishing, configuring, acquiring, closing and destroying uniquely namedCaches. - CacheMethodDetails<A> - Interface in javax.cache.annotation
-
Static information about a method annotated with one of:
CacheResult,CachePut,CacheRemove, orCacheRemoveAll - CacheMXBean - Interface in javax.cache.management
-
A management bean for cache.
- cacheName() - Element in annotation type javax.cache.annotation.CacheDefaults
-
The default name of the cache for the annotated class
- cacheName() - Element in annotation type javax.cache.annotation.CachePut
-
The name of the cache.
- cacheName() - Element in annotation type javax.cache.annotation.CacheRemove
-
The name of the cache.
- cacheName() - Element in annotation type javax.cache.annotation.CacheRemoveAll
-
/** The name of the cache.
- cacheName() - Element in annotation type javax.cache.annotation.CacheResult
-
The name of the cache.
- CachePut - Annotation Type in javax.cache.annotation
-
When a method annotated with
CachePutis invoked aGeneratedCacheKeywill be generated andCache.put(Object, Object)will be invoked on the specified cache storing the value marked withCacheValue. - CacheRemove - Annotation Type in javax.cache.annotation
-
When a method annotated with
CacheRemoveis invoked aGeneratedCacheKeywill be generated andCache.remove(Object)will be invoked on the specified cache. - CacheRemoveAll - Annotation Type in javax.cache.annotation
-
When a method annotated with
CacheRemoveAllis invoked all elements in the specified cache will be removed via theCache.removeAll()method - CacheResolver - Interface in javax.cache.annotation
-
Determines the
Cacheto use for an intercepted method invocation. - cacheResolverFactory() - Element in annotation type javax.cache.annotation.CacheDefaults
-
The
CacheResolverFactoryused to find theCacheResolverto use at runtime. - cacheResolverFactory() - Element in annotation type javax.cache.annotation.CachePut
-
The
CacheResolverFactoryused to find theCacheResolverto use at runtime. - cacheResolverFactory() - Element in annotation type javax.cache.annotation.CacheRemove
-
The
CacheResolverFactoryused to find theCacheResolverto use at runtime. - cacheResolverFactory() - Element in annotation type javax.cache.annotation.CacheRemoveAll
-
The
CacheResolverFactoryused to find theCacheResolverto use at runtime. - cacheResolverFactory() - Element in annotation type javax.cache.annotation.CacheResult
-
The
CacheResolverFactoryused to find theCacheResolverto use at runtime. - CacheResolverFactory - Interface in javax.cache.annotation
-
Determines the
CacheResolverto use for an annotated method. - CacheResult - Annotation Type in javax.cache.annotation
-
When a method annotated with
CacheResultis invoked aGeneratedCacheKeywill be generated andCache.get(Object)is called before the annotated method actually executes. - CacheStatisticsMXBean - Interface in javax.cache.management
-
Cache statistics.
- CacheValue - Annotation Type in javax.cache.annotation
-
Marks the parameter to be cached for a method annotated with
CachePut. - CacheWriter<K,
V> - Interface in javax.cache.integration -
A CacheWriter is used for write-through to an external resource.
- CacheWriterException - Exception Class in javax.cache.integration
-
An exception to indicate a problem has occurred executing a
CacheWriter. - CacheWriterException() - Constructor for exception class javax.cache.integration.CacheWriterException
-
Constructs a new CacheWriterException.
- CacheWriterException(String) - Constructor for exception class javax.cache.integration.CacheWriterException
-
Constructs a new CacheWriterException with a message string.
- CacheWriterException(String, Throwable) - Constructor for exception class javax.cache.integration.CacheWriterException
-
Constructs a CacheWriterException with a message string, and a base exception
- CacheWriterException(Throwable) - Constructor for exception class javax.cache.integration.CacheWriterException
-
Constructs a new CacheWriterException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause).
- cacheWriterFactory - Variable in class javax.cache.configuration.MutableConfiguration
-
The
Factoryfor theCacheWriter. - Caching - Class in javax.cache
-
The
Cachingclass provides a convenient means for an application to acquire an appropriateCachingProviderimplementation. - Caching() - Constructor for class javax.cache.Caching
-
No public constructor as all methods are static.
- CACHING_PROVIDERS - Static variable in class javax.cache.Caching
-
The
Caching.CachingProviderRegistrythat tracks theCachingProviders. - Caching.CachingProviderRegistry - Class in javax.cache
-
Maintains a registry of loaded
CachingProviders scoped byClassLoader. - CachingProvider - Interface in javax.cache.spi
-
Provides mechanisms to create, request and later manage the life-cycle of configured
CacheManagers, identified byURIs and scoped byClassLoaders. - CachingProviderRegistry() - Constructor for class javax.cache.Caching.CachingProviderRegistry
-
Constructs a CachingProviderManager.
- cachingProviders - Variable in class javax.cache.Caching.CachingProviderRegistry
-
The
CachingProviders by Class Name organized by theClassLoaderwas used to load them. - cancel(boolean) - Method in class javax.cache.integration.CompletionListenerFuture
-
Cancelling is not supported, always throws exception.
- ClassFactory(Class) - Constructor for class javax.cache.configuration.FactoryBuilder.ClassFactory
-
Constructor for the
FactoryBuilder.ClassFactory. - ClassFactory(String) - Constructor for class javax.cache.configuration.FactoryBuilder.ClassFactory
-
Constructor for the
FactoryBuilder.ClassFactory. - classLoader - Variable in class javax.cache.Caching.CachingProviderRegistry
-
The default
ClassLoader. - className - Variable in class javax.cache.configuration.FactoryBuilder.ClassFactory
-
The name of the Class.
- clear() - Method in interface javax.cache.Cache
-
Clears the contents of the cache, without notifying listeners or
CacheWriters. - clear() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
Clears the statistics counters to 0 for the associated Cache.
- close() - Method in interface javax.cache.Cache
-
Closing a
Cachesignals to theCacheManagerthat produced or owns theCachethat it should no longer be managed. - close() - Method in interface javax.cache.CacheManager
-
Closes the
CacheManager. - close() - Method in interface javax.cache.spi.CachingProvider
-
Closes all of the
CacheManagerinstances and associated resources created and maintained by theCachingProvideracross allClassLoaders. - close(ClassLoader) - Method in interface javax.cache.spi.CachingProvider
-
Closes all
CacheManagerinstances and associated resources created by theCachingProviderusing the specifiedClassLoader. - close(URI, ClassLoader) - Method in interface javax.cache.spi.CachingProvider
-
Closes all
CacheManagerinstances and associated resources created by theCachingProviderfor the specifiedURIandClassLoader. - CompleteConfiguration<K,
V> - Interface in javax.cache.configuration -
A read-only representation of the complete JCache
Cacheconfiguration. - CompletionListener - Interface in javax.cache.integration
-
A CompletionListener is implemented by an application when it needs to be notified of the completion of some Cache operation.
- CompletionListenerFuture - Class in javax.cache.integration
-
A CompletionListenerFuture is a CompletionListener implementation that supports being used as a Future.
- CompletionListenerFuture() - Constructor for class javax.cache.integration.CompletionListenerFuture
-
Constructs a CompletionListenerFuture.
- Configuration<K,
V> - Interface in javax.cache.configuration -
A basic read-only representation of a
Cacheconfiguration. - Consistency - Section in package javax.cache
- containsKey(K) - Method in interface javax.cache.Cache
-
Determines if the
Cachecontains an entry for the specified key. - Core Concepts - Section in package javax.cache
- create() - Method in interface javax.cache.configuration.Factory
-
Constructs and returns a fully configured instance of T.
- create() - Method in class javax.cache.configuration.FactoryBuilder.ClassFactory
- create() - Method in class javax.cache.configuration.FactoryBuilder.SingletonFactory
- createCache(String, C) - Method in interface javax.cache.CacheManager
-
Creates a named
Cacheat runtime. - CREATED - Enum constant in enum javax.cache.event.EventType
-
An event type indicating that the cache entry was created.
- CreatedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicythat defines the expiryDurationof a Cache Entry based on when it was created. - CreatedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.CreatedExpiryPolicy
-
Constructs an
CreatedExpiryPolicyExpiryPolicy.
D
- Default Consistency - Section in package javax.cache
- delete(Object) - Method in interface javax.cache.integration.CacheWriter
-
Delete the cache entry from the external resource.
- deleteAll(Collection) - Method in interface javax.cache.integration.CacheWriter
-
Remove data and keys from the external resource for the given collection of keys, if present.
- deregisterCacheEntryListener(CacheEntryListenerConfiguration) - Method in interface javax.cache.Cache
-
Deregisters a listener, using the
CacheEntryListenerConfigurationthat was used to register it. - destroyCache(String) - Method in interface javax.cache.CacheManager
-
Destroys a specifically named and managed
Cache. - Duration - Class in javax.cache.expiry
-
A
Serializableduration of time. - Duration() - Constructor for class javax.cache.expiry.Duration
-
Constructs an eternal duration (
Duration.isEternal()is true). - Duration(long, long) - Constructor for class javax.cache.expiry.Duration
-
Constructs a
Durationbased on the duration between two specified points in time (since the Epoc), measured in milliseconds. - Duration(TimeUnit, long) - Constructor for class javax.cache.expiry.Duration
-
Constructs a duration.
- durationAmount - Variable in class javax.cache.expiry.Duration
-
How long, in the specified units, the cache entries should live.
E
- Effect of multiple MutableEntry operations performed by one EntryProcessor - Section in interface javax.cache.processor.EntryProcessor
- Effect of MutableEntry operations - Section in interface javax.cache.processor.EntryProcessor
- enableManagement(String, boolean) - Method in interface javax.cache.CacheManager
-
Controls whether management is enabled.
- enableStatistics(String, boolean) - Method in interface javax.cache.CacheManager
-
Enables or disables statistics gathering for a managed
Cacheat runtime. - EntryProcessor<K,
V, - Interface in javax.cache.processorT> -
An invocable function that allows applications to perform compound operations on a
Cache.Entryatomically, according to the defined consistency of aCache. - EntryProcessorException - Exception Class in javax.cache.processor
-
An exception to indicate a problem occurred attempting to execute an
EntryProcessoragainst an entry. - EntryProcessorException() - Constructor for exception class javax.cache.processor.EntryProcessorException
-
Constructs a new CacheLoaderException.
- EntryProcessorException(String) - Constructor for exception class javax.cache.processor.EntryProcessorException
-
Constructs a new CacheLoaderException with a message string.
- EntryProcessorException(String, Throwable) - Constructor for exception class javax.cache.processor.EntryProcessorException
-
Constructs a CacheLoaderException with a message string, and a base exception
- EntryProcessorException(Throwable) - Constructor for exception class javax.cache.processor.EntryProcessorException
-
Constructs a new CacheLoaderException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause).
- EntryProcessorResult<T> - Interface in javax.cache.processor
-
A mechanism to represent and obtain the result of processing a
Cacheentry using anEntryProcessor. - equals(Object) - Method in interface javax.cache.annotation.GeneratedCacheKey
-
Compare this
GeneratedCacheKeywith another. - equals(Object) - Method in class javax.cache.configuration.FactoryBuilder.ClassFactory
- equals(Object) - Method in class javax.cache.configuration.FactoryBuilder.SingletonFactory
- equals(Object) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
- equals(Object) - Method in class javax.cache.configuration.MutableConfiguration
- equals(Object) - Method in class javax.cache.expiry.AccessedExpiryPolicy
- equals(Object) - Method in class javax.cache.expiry.CreatedExpiryPolicy
- equals(Object) - Method in class javax.cache.expiry.Duration
- equals(Object) - Method in class javax.cache.expiry.EternalExpiryPolicy
- equals(Object) - Method in class javax.cache.expiry.ModifiedExpiryPolicy
- equals(Object) - Method in class javax.cache.expiry.TouchedExpiryPolicy
- ETERNAL - Static variable in class javax.cache.expiry.Duration
-
ETERNAL (forever).
- EternalExpiryPolicy - Class in javax.cache.expiry
-
An eternal
ExpiryPolicyspecifies that Cache Entries won't expire. - EternalExpiryPolicy() - Constructor for class javax.cache.expiry.EternalExpiryPolicy
- evaluate(CacheEntryEvent) - Method in interface javax.cache.event.CacheEntryEventFilter
-
Evaluates specified
CacheEntryEvent. - eventType - Variable in class javax.cache.event.CacheEntryEvent
- EventType - Enum in javax.cache.event
-
The type of event received by the listener.
- EventType() - Constructor for enum javax.cache.event.EventType
- evictFor() - Element in annotation type javax.cache.annotation.CacheRemove
- evictFor() - Element in annotation type javax.cache.annotation.CacheRemoveAll
- Example 1 - Section in interface javax.cache.processor.EntryProcessor
- Example 2 - Section in interface javax.cache.processor.EntryProcessor
- Example 3 - Section in interface javax.cache.processor.EntryProcessor
- exception - Variable in class javax.cache.integration.CompletionListenerFuture
- exceptionCacheName() - Element in annotation type javax.cache.annotation.CacheResult
-
The name of the cache to cache exceptions.
- exists() - Method in interface javax.cache.processor.MutableEntry
-
Checks for the existence of the entry in the cache
- EXPIRED - Enum constant in enum javax.cache.event.EventType
-
An event type indicating that the cache entry has expired.
- expiryDuration - Variable in class javax.cache.expiry.AccessedExpiryPolicy
-
The
Durationa Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.CreatedExpiryPolicy
-
The
Durationa Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.ModifiedExpiryPolicy
-
The
Durationa Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.TouchedExpiryPolicy
-
The
Durationa Cache Entry should be available before it expires. - ExpiryPolicy - Interface in javax.cache.expiry
-
Defines functions to determine when cache entries will expire based on creation, access and modification operations.
- expiryPolicyFactory - Variable in class javax.cache.configuration.MutableConfiguration
-
The
Factoryfor theExpiryPolicy.
F
- Factory<T> - Interface in javax.cache.configuration
-
Constructs and returns a fully configured instance of a specific factory type.
- FactoryBuilder - Class in javax.cache.configuration
-
A convenience class that defines generically typed static methods to aid in the building of
Factoryinstances. - FactoryBuilder() - Constructor for class javax.cache.configuration.FactoryBuilder
-
A private constructor to prevent instantiation.
- FactoryBuilder.ClassFactory<T> - Class in javax.cache.configuration
-
A
Factorythat instantiates a specific Class. - FactoryBuilder.SingletonFactory<T> - Class in javax.cache.configuration
-
A
Factorythat always returns a specific instance. - factoryOf() - Static method in class javax.cache.expiry.EternalExpiryPolicy
-
Obtains a
Factoryfor an EternalExpiryPolicy. - factoryOf(Class) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factorythat will produce factory instances of the specified class. - factoryOf(String) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factorythat will produce factory instances of the specified class. - factoryOf(Duration) - Static method in class javax.cache.expiry.AccessedExpiryPolicy
-
Obtains a
Factoryfor an AccessedExpiryPolicy. - factoryOf(Duration) - Static method in class javax.cache.expiry.CreatedExpiryPolicy
-
Obtains a
Factoryfor a CreatedExpiryPolicy. - factoryOf(Duration) - Static method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Obtains a
Factoryfor a ModifiedExpiryPolicy. - factoryOf(Duration) - Static method in class javax.cache.expiry.TouchedExpiryPolicy
-
Obtains a
Factoryfor a TouchedExpiryPolicy. - factoryOf(T) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factorythat will return the specified factory Serializable instance. - filterFactory - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
The
Factoryto be used to create theCacheEntryEventFilter. - FIVE_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Five minutes.
- Further Consistency Models - Section in package javax.cache
G
- generateCacheKey(CacheKeyInvocationContext) - Method in interface javax.cache.annotation.CacheKeyGenerator
-
Called for each intercepted method invocation to generate a suitable cache key (as a
GeneratedCacheKey) from theCacheKeyInvocationContextdata. - GeneratedCacheKey - Interface in javax.cache.annotation
-
A
Serializable, immutable, thread-safe object that is used as a key, automatically generated by aCacheKeyGenerator. - get() - Method in class javax.cache.integration.CompletionListenerFuture
-
Waits if necessary for the operation to complete.
- get() - Method in interface javax.cache.processor.EntryProcessorResult
-
Obtain the result of processing an entry with an
EntryProcessor. - get(long, TimeUnit) - Method in class javax.cache.integration.CompletionListenerFuture
-
Waits if necessary for at most the given time for the operation to complete.
- get(K) - Method in interface javax.cache.Cache
-
Gets an entry from the cache.
- getAdjustedTime(long) - Method in class javax.cache.expiry.Duration
-
Calculates the adjusted time (represented in milliseconds from the Epoc) given a specified time in milliseconds (to be adjusted) by the duration.
- getAll(Set) - Method in interface javax.cache.Cache
- getAllParameters() - Method in interface javax.cache.annotation.CacheInvocationContext
-
Returns a clone of the array of all method parameters.
- getAndPut(K, V) - Method in interface javax.cache.Cache
-
Associates the specified value with the specified key in this cache, returning an existing value if one existed.
- getAndRemove(K) - Method in interface javax.cache.Cache
-
Atomically removes the entry for a key only if currently mapped to some value.
- getAndReplace(K, V) - Method in interface javax.cache.Cache
-
Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.
- getAnnotations() - Method in interface javax.cache.annotation.CacheInvocationParameter
- getAnnotations() - Method in interface javax.cache.annotation.CacheMethodDetails
-
An immutable Set of all Annotations on this method
- getAverageGetTime() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The mean time to execute gets.
- getAveragePutTime() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The mean time to execute puts.
- getAverageRemoveTime() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The mean time to execute removes.
- getCache(String) - Method in interface javax.cache.CacheManager
-
Looks up a managed
Cachegiven its name. - getCache(String, Class, Class) - Method in interface javax.cache.CacheManager
-
Looks up a managed
Cachegiven its name. - getCache(String, Class, Class) - Static method in class javax.cache.Caching
-
A convenience that method that looks up a managed
Cachegiven its name. - getCacheAnnotation() - Method in interface javax.cache.annotation.CacheMethodDetails
-
The caching related annotation on the method.
- getCacheEntryEventFilterFactory() - Method in interface javax.cache.configuration.CacheEntryListenerConfiguration
-
Obtains the
Factoryfor theCacheEntryEventFilterthat should be applied prior to notifying theCacheEntryListener. - getCacheEntryEventFilterFactory() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Obtains the
Factoryfor theCacheEntryEventFilterthat should be applied prior to notifying theCacheEntryListener. - getCacheEntryListenerConfigurations() - Method in interface javax.cache.configuration.CompleteConfiguration
- getCacheEntryListenerConfigurations() - Method in class javax.cache.configuration.MutableConfiguration
- getCacheEntryListenerFactory() - Method in interface javax.cache.configuration.CacheEntryListenerConfiguration
-
Obtains the
Factoryfor theCacheEntryListener. - getCacheEntryListenerFactory() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Obtains the
Factoryfor theCacheEntryListener. - getCacheEvictions() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The total number of evictions from the cache.
- getCacheGets() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The total number of requests to the cache.
- getCacheHitPercentage() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
This is a measure of cache efficiency.
- getCacheHits() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The number of get requests that were satisfied by the cache.
- getCacheLoaderFactory() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Gets the
Factoryfor theCacheLoader, if any. - getCacheLoaderFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factoryfor theCacheLoader, if any. - getCacheManager() - Method in interface javax.cache.Cache
-
Gets the
CacheManagerthat owns and manages theCache. - getCacheManager() - Method in interface javax.cache.spi.CachingProvider
-
Requests a
CacheManagerconfigured according to theCachingProvider.getDefaultURI()andCachingProvider.getDefaultProperties()be made available that using theCachingProvider.getDefaultClassLoader()for loading underlying classes. - getCacheManager(URI, ClassLoader) - Method in interface javax.cache.spi.CachingProvider
-
Requests a
CacheManagerconfigured according to the implementation specificURIthat uses the providedClassLoaderfor loading underlying classes. - getCacheManager(URI, ClassLoader, Properties) - Method in interface javax.cache.spi.CachingProvider
-
Requests a
CacheManagerconfigured according to the implementation specificURIbe made available that uses the providedClassLoaderfor loading underlying classes. - getCacheMisses() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
A miss is a get request that is not satisfied.
- getCacheMissPercentage() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
Returns the percentage of cache accesses that did not find a requested entry in the cache.
- getCacheName() - Method in interface javax.cache.annotation.CacheMethodDetails
-
The cache name resolved by the implementation.
- getCacheNames() - Method in interface javax.cache.CacheManager
- getCachePuts() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The total number of puts to the cache.
- getCacheRemovals() - Method in interface javax.cache.management.CacheStatisticsMXBean
-
The total number of removals from the cache.
- getCacheResolver(CacheMethodDetails) - Method in interface javax.cache.annotation.CacheResolverFactory
-
Get the
CacheResolverused at runtime for resolution of theCachefor theCacheResult,CachePut,CacheRemove, orCacheRemoveAllannotation. - getCacheWriterFactory() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Gets the
Factoryfor theCacheWriter, if any. - getCacheWriterFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factoryfor theCacheWriter, if any. - getCachingProvider() - Method in interface javax.cache.CacheManager
-
Get the
CachingProviderthat created and is responsible for theCacheManager. - getCachingProvider() - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtains the only
CachingProviderdefined by theCaching.CachingProviderRegistry.getDefaultClassLoader(). - getCachingProvider() - Static method in class javax.cache.Caching
-
Obtains the default
CachingProvideravailable via theCaching.getDefaultClassLoader(). - getCachingProvider(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtains the only
CachingProviderdefined by the specifiedClassLoader. - getCachingProvider(ClassLoader) - Static method in class javax.cache.Caching
-
Obtains the single
CachingProvidervisible to the specifiedClassLoader. - getCachingProvider(String) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProviderthat is implemented by the specified fully qualified class name using theCaching.CachingProviderRegistry.getDefaultClassLoader(). - getCachingProvider(String) - Static method in class javax.cache.Caching
-
Obtain the
CachingProviderthat is implemented by the specified fully qualified class name using theCaching.getDefaultClassLoader(). - getCachingProvider(String, ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProviderthat is implemented by the specified fully qualified class name using the providedClassLoader. - getCachingProvider(String, ClassLoader) - Static method in class javax.cache.Caching
-
Obtain the
CachingProviderthat is implemented by the specified fully qualified class name using the providedClassLoader. - getCachingProviders() - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProviders that are available via theCaching.CachingProviderRegistry.getDefaultClassLoader(). - getCachingProviders() - Static method in class javax.cache.Caching
-
Obtains the
CachingProviders that are available via theCaching.getDefaultClassLoader(). - getCachingProviders(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProviders that are available via the specifiedClassLoader. - getCachingProviders(ClassLoader) - Static method in class javax.cache.Caching
-
Obtains the
CachingProviders that are available via the specifiedClassLoader. - getClassLoader() - Method in interface javax.cache.CacheManager
-
Get the
ClassLoaderused by theCacheManager. - getConfiguration(Class) - Method in interface javax.cache.Cache
-
Provides a standard way to access the configuration of a cache using JCache configuration or additional proprietary configuration.
- getDefaultClassLoader() - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtains the
ClassLoaderto use for API methods that don't explicitly require aClassLoaderbut internally require one. - getDefaultClassLoader() - Static method in class javax.cache.Caching
-
Obtains the
ClassLoaderto use for API methods that don't explicitly require aClassLoaderbut internally require one. - getDefaultClassLoader() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
ClassLoaderthat will be used by theCachingProvider. - getDefaultProperties() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
Propertiesfor theCachingProvider. - getDefaultURI() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
URIfor theCachingProvider. - getDurationAmount() - Method in class javax.cache.expiry.Duration
-
Obtain the number of TimeUnits in the Duration
- getEventType() - Method in class javax.cache.event.CacheEntryEvent
-
Gets the event type of this event
- getExceptionCacheResolver(CacheMethodDetails) - Method in interface javax.cache.annotation.CacheResolverFactory
-
Get the
CacheResolverused at runtime for resolution of theCachefor theCacheResultannotation to cache exceptions. - getExpiryForAccess() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Durationbefore an accessed Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Durationbefore a newly created Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Durationbefore an updated Cache.Entry is considered expired. - getExpiryPolicyFactory() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Gets the
Factoryfor theExpiryPolicyto be used for caches. - getExpiryPolicyFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factoryfor theExpiryPolicyto be used for caches. - getKey() - Method in interface javax.cache.Cache.Entry
-
Returns the key corresponding to this entry.
- getKeyParameters() - Method in interface javax.cache.annotation.CacheKeyInvocationContext
-
Returns a clone of the array of all method parameters to be used by the
CacheKeyGeneratorin creating aGeneratedCacheKey. - getKeyType() - Method in interface javax.cache.configuration.Configuration
-
Determines the required type of keys for
Caches configured with thisConfiguration. - getKeyType() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines the required type of keys for
Caches configured with thisConfiguration. - getKeyType() - Method in interface javax.cache.management.CacheMXBean
-
Determines the required type of keys for this
Cache, if any. - getMethod() - Method in interface javax.cache.annotation.CacheMethodDetails
-
The annotated method
- getName() - Method in interface javax.cache.Cache
-
Return the name of the cache.
- getOldValue() - Method in class javax.cache.event.CacheEntryEvent
-
Returns the previous value that existed for entry in the cache before modification or removal.
- getParameterPosition() - Method in interface javax.cache.annotation.CacheInvocationParameter
-
The index of the parameter in the original parameter array as returned by
CacheInvocationContext.getAllParameters() - getProperties() - Method in interface javax.cache.CacheManager
-
Get the
Propertiesthat were used to create thisCacheManager. - getRawType() - Method in interface javax.cache.annotation.CacheInvocationParameter
-
The parameter type as declared on the method.
- getSource() - Method in class javax.cache.event.CacheEntryEvent
- getTarget() - Method in interface javax.cache.annotation.CacheInvocationContext
- getTimeUnit() - Method in class javax.cache.expiry.Duration
-
Obtain the TimeUnit for the Duration
- getURI() - Method in interface javax.cache.CacheManager
-
Get the URI of the
CacheManager. - getValue() - Method in interface javax.cache.annotation.CacheInvocationParameter
- getValue() - Method in interface javax.cache.Cache.Entry
-
Returns the value stored in the cache when this entry was created.
- getValue() - Method in class javax.cache.event.CacheEntryEvent
-
Returns the value stored in the cache when this entry was created or updated.
- getValue() - Method in interface javax.cache.processor.MutableEntry
-
Returns the value stored in the cache.
- getValueParameter() - Method in interface javax.cache.annotation.CacheKeyInvocationContext
-
When a method is annotated with
CachePutthis is the parameter annotated withCacheValue - getValueType() - Method in interface javax.cache.configuration.Configuration
-
Determines the required type of values for
Caches configured with thisConfiguration. - getValueType() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines the required type of values for
Caches configured with thisConfiguration. - getValueType() - Method in interface javax.cache.management.CacheMXBean
-
Determines the required type of values for this
Cache, if any.
H
- hashCode() - Method in interface javax.cache.annotation.GeneratedCacheKey
-
The immutable hash code of the cache key.
- hashCode() - Method in class javax.cache.configuration.FactoryBuilder.ClassFactory
- hashCode() - Method in class javax.cache.configuration.FactoryBuilder.SingletonFactory
- hashCode() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
- hashCode() - Method in class javax.cache.configuration.MutableConfiguration
- hashCode() - Method in class javax.cache.expiry.AccessedExpiryPolicy
- hashCode() - Method in class javax.cache.expiry.CreatedExpiryPolicy
- hashCode() - Method in class javax.cache.expiry.Duration
- hashCode() - Method in class javax.cache.expiry.EternalExpiryPolicy
- hashCode() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
- hashCode() - Method in class javax.cache.expiry.TouchedExpiryPolicy
I
- instance - Variable in class javax.cache.configuration.FactoryBuilder.SingletonFactory
-
The singleton instance.
- invoke(K, EntryProcessor, Object...) - Method in interface javax.cache.Cache
-
Invokes an
EntryProcessoragainst theCache.Entryspecified by the provided key. - invokeAll(Set, EntryProcessor, Object...) - Method in interface javax.cache.Cache
-
Invokes an
EntryProcessoragainst the set ofCache.Entrys specified by the set of keys. - isCancelled() - Method in class javax.cache.integration.CompletionListenerFuture
-
Cancelling is not supported, always returns false
- isClosed() - Method in interface javax.cache.Cache
-
Determines whether this Cache instance has been closed.
- isClosed() - Method in interface javax.cache.CacheManager
-
Determines whether the
CacheManagerinstance has been closed. - isCompleted - Variable in class javax.cache.integration.CompletionListenerFuture
- isDone() - Method in class javax.cache.integration.CompletionListenerFuture
- isEternal() - Method in class javax.cache.expiry.Duration
-
Determines if a
Durationis eternal (forever). - isManagementEnabled - Variable in class javax.cache.configuration.MutableConfiguration
-
Whether management is enabled
- isManagementEnabled() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Checks whether management is enabled on this cache.
- isManagementEnabled() - Method in class javax.cache.configuration.MutableConfiguration
-
Checks whether management is enabled on this cache.
- isManagementEnabled() - Method in interface javax.cache.management.CacheMXBean
-
Checks whether management is enabled on this cache.
- isOldValueAvailable() - Method in class javax.cache.event.CacheEntryEvent
-
Whether the old value is available.
- isOldValueRequired - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Is the old value required to be provide to the
CacheEntryListener? - isOldValueRequired() - Method in interface javax.cache.configuration.CacheEntryListenerConfiguration
-
Determines if the old value should be provided to the
CacheEntryListener. - isOldValueRequired() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Determines if the old value should be provided to the
CacheEntryListener. - isReadThrough - Variable in class javax.cache.configuration.MutableConfiguration
-
A flag indicating if "read-through" mode is required.
- isReadThrough() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Determines if a
Cacheshould operate in read-through mode. - isReadThrough() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines if a
Cacheshould operate in read-through mode. - isReadThrough() - Method in interface javax.cache.management.CacheMXBean
-
Determines if a
Cacheshould operate in read-through mode. - isStatisticsEnabled - Variable in class javax.cache.configuration.MutableConfiguration
-
A flag indicating if statistics gathering is enabled.
- isStatisticsEnabled() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Checks whether statistics collection is enabled in this cache.
- isStatisticsEnabled() - Method in class javax.cache.configuration.MutableConfiguration
-
Checks whether statistics collection is enabled in this cache.
- isStatisticsEnabled() - Method in interface javax.cache.management.CacheMXBean
-
Checks whether statistics collection is enabled in this cache.
- isStoreByValue - Variable in class javax.cache.configuration.MutableConfiguration
-
A flag indicating if the cache will be store-by-value or store-by-reference.
- isStoreByValue() - Method in interface javax.cache.configuration.Configuration
-
Whether storeByValue (true) or storeByReference (false).
- isStoreByValue() - Method in class javax.cache.configuration.MutableConfiguration
-
Whether storeByValue (true) or storeByReference (false).
- isStoreByValue() - Method in interface javax.cache.management.CacheMXBean
-
Whether storeByValue (true) or storeByReference (false).
- isSupported(OptionalFeature) - Method in interface javax.cache.spi.CachingProvider
-
Determines whether an optional feature is supported by the
CachingProvider. - isSynchronous - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Should the
CacheEntryListenerbe notified as part of an operation or is asynchronous delivery acceptable? - isSynchronous() - Method in interface javax.cache.configuration.CacheEntryListenerConfiguration
-
Determines if the thread that caused an event to be created should be blocked (not return from the operation causing the event) until the
CacheEntryListenerhas been notified. - isSynchronous() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Determines if the thread that caused an event to be created should be blocked (not return from the operation causing the event) until the
CacheEntryListenerhas been notified. - isWriteThrough - Variable in class javax.cache.configuration.MutableConfiguration
-
A flag indicating if "write-through" mode is required.
- isWriteThrough() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Determines if a
Cacheshould operate in write-through mode. - isWriteThrough() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines if a
Cacheshould operate in write-through mode. - isWriteThrough() - Method in interface javax.cache.management.CacheMXBean
-
Determines if a
Cacheshould operate in "write-through" mode. - isZero() - Method in class javax.cache.expiry.Duration
-
Determines if a
Durationis zero. - iterator() - Method in interface javax.cache.Cache
J
- JAVAX_CACHE_CACHING_PROVIDER - Static variable in class javax.cache.Caching
-
The
javax.cache.spi.cachingproviderconstant. - javax.cache - package javax.cache
-
This package contains the API for JCache.
- javax.cache.annotation - package javax.cache.annotation
-
The annotations in this package provide method interceptors for user supplied classes.
- javax.cache.Caches and java.util.Maps - Section in package javax.cache
- javax.cache.configuration - package javax.cache.configuration
-
This package contains configuration classes and interfaces.
- javax.cache.event - package javax.cache.event
-
This package contains event listener interfaces.
- javax.cache.expiry - package javax.cache.expiry
-
This package contains expiry policies
- javax.cache.integration - package javax.cache.integration
-
This package contains interfaces for integration.
- javax.cache.management - package javax.cache.management
-
This package contains management interfaces.
- javax.cache.processor - package javax.cache.processor
-
This package contains the API for Entry Processors.
- javax.cache.spi - package javax.cache.spi
-
The javax.cache.spi package defines the classes and interfaces that are implemented by the caching provider for use by the
Cachingclass
K
- keyType - Variable in class javax.cache.configuration.MutableConfiguration
-
The type of keys for
Caches configured with thisConfiguration.
L
- listenerConfigurations - Variable in class javax.cache.configuration.MutableConfiguration
-
The
CacheEntryListenerConfigurations for theConfiguration. - listenerFactory - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
The
Factoryto be used to create theCacheEntryListener. - load(K) - Method in interface javax.cache.integration.CacheLoader
-
Loads an object.
- loadAll(Iterable) - Method in interface javax.cache.integration.CacheLoader
-
Loads multiple objects.
- loadAll(Set, boolean, CompletionListener) - Method in interface javax.cache.Cache
-
Asynchronously loads the specified entries into the cache using the configured
CacheLoaderfor the given keys. - loadCachingProvider(String, ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Load and instantiate the
CachingProviderwith the specified fully qualified class name using the providedClassLoader - lock - Variable in class javax.cache.integration.CompletionListenerFuture
M
- markAsCompleted() - Method in class javax.cache.integration.CompletionListenerFuture
-
Mark operation as completed and wakeup all listeners, called under lock.
- ModifiedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was updated. - ModifiedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.ModifiedExpiryPolicy
-
Constructs an
ModifiedExpiryPolicyExpiryPolicy. - MutableCacheEntryListenerConfiguration<K,
V> - Class in javax.cache.configuration -
A convenience class providing a mutable, serializable implementation of a
CacheEntryListenerConfiguration. - MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration) - Constructor for class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Constructs a
MutableCacheEntryListenerConfigurationbased on anotherCacheEntryListenerConfiguration. - MutableCacheEntryListenerConfiguration(Factory, Factory, boolean, boolean) - Constructor for class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Constructs a
MutableCacheEntryListenerConfiguration. - MutableConfiguration<K,
V> - Class in javax.cache.configuration -
A simple mutable implementation of a
Configuration. - MutableConfiguration() - Constructor for class javax.cache.configuration.MutableConfiguration
-
Default JavaBean constructor.
- MutableConfiguration(CompleteConfiguration) - Constructor for class javax.cache.configuration.MutableConfiguration
-
Constructs a
MutableConfigurationbased on anotherCompleteConfiguration. - MutableEntry<K,
V> - Interface in javax.cache.processor -
A mutable representation of a
Cache.Entry.
N
- noCacheFor() - Element in annotation type javax.cache.annotation.CachePut
- noEvictFor() - Element in annotation type javax.cache.annotation.CacheRemove
- noEvictFor() - Element in annotation type javax.cache.annotation.CacheRemoveAll
- nonCachedExceptions() - Element in annotation type javax.cache.annotation.CacheResult
O
- onCompletion() - Method in interface javax.cache.integration.CompletionListener
-
Notifies the application that the operation completed successfully.
- onCompletion() - Method in class javax.cache.integration.CompletionListenerFuture
-
Notifies the application that the operation completed successfully.
- onCreated(Iterable) - Method in interface javax.cache.event.CacheEntryCreatedListener
-
Called after one or more entries have been created.
- ONE_DAY - Static variable in class javax.cache.expiry.Duration
-
One day.
- ONE_HOUR - Static variable in class javax.cache.expiry.Duration
-
One hour.
- ONE_MINUTE - Static variable in class javax.cache.expiry.Duration
-
One minute.
- onException(Exception) - Method in interface javax.cache.integration.CompletionListener
-
Notifies the application that the operation failed.
- onException(Exception) - Method in class javax.cache.integration.CompletionListenerFuture
-
Notifies the application that the operation failed.
- onExpired(Iterable) - Method in interface javax.cache.event.CacheEntryExpiredListener
-
Called after one or more entries have been expired by the cache.
- onRemoved(Iterable) - Method in interface javax.cache.event.CacheEntryRemovedListener
-
Called after one or more entries have been removed.
- onUpdated(Iterable) - Method in interface javax.cache.event.CacheEntryUpdatedListener
-
Called after one or more entries have been updated.
- OptionalFeature - Enum in javax.cache.configuration
-
Optional features that may be present in an implementation.
- OptionalFeature() - Constructor for enum javax.cache.configuration.OptionalFeature
P
- process(MutableEntry, Object...) - Method in interface javax.cache.processor.EntryProcessor
-
Process an entry.
- put(K, V) - Method in interface javax.cache.Cache
-
Associates the specified value with the specified key in the cache.
- putAll(Map) - Method in interface javax.cache.Cache
-
Copies all of the entries from the specified map to the
Cache. - putIfAbsent(K, V) - Method in interface javax.cache.Cache
-
Atomically associates the specified key with the given value if it is not already associated with a value.
R
- registerCacheEntryListener(CacheEntryListenerConfiguration) - Method in interface javax.cache.Cache
-
Registers a
CacheEntryListener. - remove() - Method in interface javax.cache.processor.MutableEntry
-
Removes the entry from the Cache.
- remove(K) - Method in interface javax.cache.Cache
-
Removes the mapping for a key from this cache if it is present.
- remove(K, V) - Method in interface javax.cache.Cache
-
Atomically removes the mapping for a key only if currently mapped to the given value.
- removeAll() - Method in interface javax.cache.Cache
-
Removes all of the mappings from this cache.
- removeAll(Set) - Method in interface javax.cache.Cache
-
Removes entries for the specified keys.
- removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration) - Method in class javax.cache.configuration.MutableConfiguration
-
Remove a configuration for a
CacheEntryListener. - REMOVED - Enum constant in enum javax.cache.event.EventType
-
An event type indicating that the cache entry was removed.
- replace(K, V) - Method in interface javax.cache.Cache
-
Atomically replaces the entry for a key only if currently mapped to some value.
- replace(K, V, V) - Method in interface javax.cache.Cache
-
Atomically replaces the entry for a key only if currently mapped to a given value.
- resolveCache(CacheInvocationContext) - Method in interface javax.cache.annotation.CacheResolver
-
Resolve the
Cacheto use for theCacheInvocationContext.
S
- serialVersionUID - Static variable in exception class javax.cache.CacheException
- serialVersionUID - Static variable in class javax.cache.configuration.FactoryBuilder.ClassFactory
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.configuration.FactoryBuilder.SingletonFactory
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.configuration.MutableConfiguration
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in exception class javax.cache.event.CacheEntryListenerException
- serialVersionUID - Static variable in class javax.cache.expiry.AccessedExpiryPolicy
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.expiry.CreatedExpiryPolicy
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.expiry.Duration
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.expiry.EternalExpiryPolicy
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.expiry.ModifiedExpiryPolicy
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in class javax.cache.expiry.TouchedExpiryPolicy
-
The serialVersionUID required for
Serializable. - serialVersionUID - Static variable in exception class javax.cache.integration.CacheLoaderException
- serialVersionUID - Static variable in exception class javax.cache.integration.CacheWriterException
- serialVersionUID - Static variable in exception class javax.cache.processor.EntryProcessorException
- setCacheEntryEventFilterFactory(Factory) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets the
Factoryto be used to create aCacheEntryEventFilter. - setCacheEntryListenerFactory(Factory) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets the
Factoryto be used to create aCacheEntryListener. - setCacheLoaderFactory(Factory) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
CacheLoaderfactory. - setCacheWriterFactory(Factory) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
CacheWriterfactory. - setDefaultClassLoader(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Set the
ClassLoaderto use for API methods that don't explicitly require aClassLoader, but internally use one. - setDefaultClassLoader(ClassLoader) - Static method in class javax.cache.Caching
-
Set the
ClassLoaderto use for API methods that don't explicitly require aClassLoader, but internally use one. - setExpiryPolicyFactory(Factory) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
Factoryfor theExpiryPolicy. - setManagementEnabled(boolean) - Method in class javax.cache.configuration.MutableConfiguration
-
Sets whether management is enabled on a cache.
- setOldValueRequired(boolean) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets if the old value should be provided to the
CacheEntryListener. - setReadThrough(boolean) - Method in class javax.cache.configuration.MutableConfiguration
-
Set if read-through caching should be used.
- setStatisticsEnabled(boolean) - Method in class javax.cache.configuration.MutableConfiguration
-
Sets whether statistics gathering is enabled on a cache.
- setStoreByValue(boolean) - Method in class javax.cache.configuration.MutableConfiguration
-
Set if a configured cache should use store-by-value or store-by-reference semantics.
- setSynchronous(boolean) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets if the thread that causes an event should be blocked (not return from the operation causing the event) until the
CacheEntryListenerhas been notified. - setTypes(Class, Class) - Method in class javax.cache.configuration.MutableConfiguration
-
Sets the expected type of keys and values for a
Cacheconfigured with thisConfiguration. - setValue(V) - Method in interface javax.cache.processor.MutableEntry
-
Sets or replaces the value associated with the key.
- setWriteThrough(boolean) - Method in class javax.cache.configuration.MutableConfiguration
-
Set if write-through caching should be used.
- SingletonFactory(T) - Constructor for class javax.cache.configuration.FactoryBuilder.SingletonFactory
-
Constructor for the
FactoryBuilder.SingletonFactory. - skipGet() - Element in annotation type javax.cache.annotation.CacheResult
-
If set to true the pre-invocation
Cache.get(Object)is skipped and the annotated method is always executed with the returned value being cached as normal. - STORE_BY_REFERENCE - Enum constant in enum javax.cache.configuration.OptionalFeature
-
Implementation supports store by reference
- Store-By-Reference - Section in package javax.cache
- Store-By-Value - Section in package javax.cache
- Store-By-Value and Store-By-Reference - Section in package javax.cache
T
- TEN_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Ten minutes.
- THIRTY_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Thirty minutes.
- timeUnit - Variable in class javax.cache.expiry.Duration
-
The unit of time to specify time in.
- TouchedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicythat defines the expiryDurationof a Cache Entry based on when it was last touched. - TouchedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.TouchedExpiryPolicy
-
Constructs an
TouchedExpiryPolicyExpiryPolicy. - TWENTY_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Twenty minutes.
U
- unwrap(Class) - Method in interface javax.cache.annotation.CacheInvocationContext
-
Return an object of the specified type to allow access to the provider-specific API.
- unwrap(Class) - Method in interface javax.cache.Cache.Entry
-
Provides a standard way to access the underlying concrete cache entry implementation in order to provide access to further, proprietary features.
- unwrap(Class) - Method in interface javax.cache.Cache
-
Provides a standard way to access the underlying concrete caching implementation to provide access to further, proprietary features.
- unwrap(Class) - Method in interface javax.cache.CacheManager
-
Provides a standard mechanism to access the underlying concrete caching implementation to provide access to further, proprietary features.
- UPDATED - Enum constant in enum javax.cache.event.EventType
-
An event type indicating that the cache entry was updated.
V
- valueOf(String) - Static method in enum javax.cache.configuration.OptionalFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.cache.event.EventType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax.cache.configuration.OptionalFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.cache.event.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueType - Variable in class javax.cache.configuration.MutableConfiguration
-
The type of values for
Caches configured with thisConfiguration.
W
- write(Cache.Entry) - Method in interface javax.cache.integration.CacheWriter
-
Write the specified value under the specified key to the external resource.
- writeAll(Collection) - Method in interface javax.cache.integration.CacheWriter
-
Write the specified entries to the external resource.
Z
A C D E F G H I J K L M N O P R S T U V W ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form