A C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AccessedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was accessed. - AccessedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.AccessedExpiryPolicy
-
Constructs an
AccessedExpiryPolicy
ExpiryPolicy
. - addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class javax.cache.configuration.MutableConfiguration
-
Add a configuration for a
CacheEntryListener
. - afterInvocation() - Method in annotation type javax.cache.annotation.CachePut
-
When
Cache.put(Object, Object)
should be called. - afterInvocation() - Method in annotation type javax.cache.annotation.CacheRemove
-
When
Cache.remove(Object)
should be called. - afterInvocation() - Method in annotation type javax.cache.annotation.CacheRemoveAll
-
When
Cache.removeAll()
should be called.
C
- Cache<K,V> - Interface in javax.cache
-
A
Cache
is 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
, andCacheRemoveAll
at the class level. - cachedExceptions() - Method in annotation type javax.cache.annotation.CacheResult
-
Defines zero (0) or more exception
classes
, that must be a subclass ofThrowable
, indicating the exception types that must be cached. - 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
CacheEntryEvent
s prior to being dispatched toCacheEntryListener
s. - 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
CacheEntryListener
and aFactory
for its creation. - CacheEntryListenerException - Exception in javax.cache.event
-
An exception to indicate a problem has occurred with a listener.
- CacheEntryListenerException() - Constructor for exception javax.cache.event.CacheEntryListenerException
-
Constructs a new CacheEntryListenerException.
- CacheEntryListenerException(String) - Constructor for exception javax.cache.event.CacheEntryListenerException
-
Constructs a new CacheEntryListenerException with a message string.
- CacheEntryListenerException(String, Throwable) - Constructor for exception javax.cache.event.CacheEntryListenerException
-
Constructs a CacheEntryListenerException with a message string, and a base exception
- CacheEntryListenerException(Throwable) - Constructor for exception 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 in javax.cache
-
Thrown to indicate an exception has occurred in the Cache.
- CacheException() - Constructor for exception javax.cache.CacheException
-
Constructs a new CacheException.
- CacheException(String) - Constructor for exception javax.cache.CacheException
-
Constructs a new CacheException with a message string.
- CacheException(String, Throwable) - Constructor for exception javax.cache.CacheException
-
Constructs a CacheException with a message string, and a base exception
- CacheException(Throwable) - Constructor for exception 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() - Method in annotation type javax.cache.annotation.CachePut
-
Defines zero (0) or more exception
classes
, that must be a subclass ofThrowable
, indicating the exception types that must cause the parameter to be cached. - CacheInvocationContext<A extends java.lang.annotation.Annotation> - 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() - Method in annotation type javax.cache.annotation.CacheDefaults
-
The
CacheKeyGenerator
to use to generate theGeneratedCacheKey
for interacting with the specified Cache. - cacheKeyGenerator() - Method in annotation type javax.cache.annotation.CachePut
-
The
CacheKeyGenerator
to use to generate theGeneratedCacheKey
for interacting with the specified Cache. - cacheKeyGenerator() - Method in annotation type javax.cache.annotation.CacheRemove
-
The
CacheKeyGenerator
to use to generate theGeneratedCacheKey
for interacting with the specified Cache. - cacheKeyGenerator() - Method in annotation type javax.cache.annotation.CacheResult
-
The
CacheKeyGenerator
to use to generate theGeneratedCacheKey
for interacting with the specified Cache. - CacheKeyGenerator - Interface in javax.cache.annotation
-
Generates a
GeneratedCacheKey
based on aCacheKeyInvocationContext
. - CacheKeyInvocationContext<A extends java.lang.annotation.Annotation> - 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 in javax.cache.integration
-
An exception to indicate a problem has occurred executing a
CacheLoader
. - CacheLoaderException() - Constructor for exception javax.cache.integration.CacheLoaderException
-
Constructs a new CacheLoaderException.
- CacheLoaderException(String) - Constructor for exception javax.cache.integration.CacheLoaderException
-
Constructs a new CacheLoaderException with a message string.
- CacheLoaderException(String, Throwable) - Constructor for exception javax.cache.integration.CacheLoaderException
-
Constructs a CacheLoaderException with a message string, and a base exception
- CacheLoaderException(Throwable) - Constructor for exception 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
Factory
for theCacheLoader
. - CacheManager - Interface in javax.cache
-
A
CacheManager
provides a means of establishing, configuring, acquiring, closing and destroying uniquely namedCache
s. - CacheMethodDetails<A extends java.lang.annotation.Annotation> - 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() - Method in annotation type javax.cache.annotation.CacheDefaults
-
The default name of the cache for the annotated class
- cacheName() - Method in annotation type javax.cache.annotation.CachePut
-
The name of the cache.
- cacheName() - Method in annotation type javax.cache.annotation.CacheRemove
-
The name of the cache.
- cacheName() - Method in annotation type javax.cache.annotation.CacheRemoveAll
-
/** The name of the cache.
- cacheName() - Method in annotation type javax.cache.annotation.CacheResult
-
The name of the cache.
- CachePut - Annotation Type in javax.cache.annotation
-
When a method annotated with
CachePut
is invoked aGeneratedCacheKey
will 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
CacheRemove
is invoked aGeneratedCacheKey
will be generated andCache.remove(Object)
will be invoked on the specified cache. - CacheRemoveAll - Annotation Type in javax.cache.annotation
-
When a method annotated with
CacheRemoveAll
is invoked all elements in the specified cache will be removed via theCache.removeAll()
method - CacheResolver - Interface in javax.cache.annotation
-
Determines the
Cache
to use for an intercepted method invocation. - cacheResolverFactory() - Method in annotation type javax.cache.annotation.CacheDefaults
-
The
CacheResolverFactory
used to find theCacheResolver
to use at runtime. - cacheResolverFactory() - Method in annotation type javax.cache.annotation.CachePut
-
The
CacheResolverFactory
used to find theCacheResolver
to use at runtime. - cacheResolverFactory() - Method in annotation type javax.cache.annotation.CacheRemove
-
The
CacheResolverFactory
used to find theCacheResolver
to use at runtime. - cacheResolverFactory() - Method in annotation type javax.cache.annotation.CacheRemoveAll
-
The
CacheResolverFactory
used to find theCacheResolver
to use at runtime. - cacheResolverFactory() - Method in annotation type javax.cache.annotation.CacheResult
-
The
CacheResolverFactory
used to find theCacheResolver
to use at runtime. - CacheResolverFactory - Interface in javax.cache.annotation
-
Determines the
CacheResolver
to use for an annotated method. - CacheResult - Annotation Type in javax.cache.annotation
-
When a method annotated with
CacheResult
is invoked aGeneratedCacheKey
will 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 in javax.cache.integration
-
An exception to indicate a problem has occurred executing a
CacheWriter
. - CacheWriterException() - Constructor for exception javax.cache.integration.CacheWriterException
-
Constructs a new CacheWriterException.
- CacheWriterException(String) - Constructor for exception javax.cache.integration.CacheWriterException
-
Constructs a new CacheWriterException with a message string.
- CacheWriterException(String, Throwable) - Constructor for exception javax.cache.integration.CacheWriterException
-
Constructs a CacheWriterException with a message string, and a base exception
- CacheWriterException(Throwable) - Constructor for exception 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
Factory
for theCacheWriter
. - Caching - Class in javax.cache
-
The
Caching
class provides a convenient means for an application to acquire an appropriateCachingProvider
implementation. - 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.CachingProviderRegistry
that tracks theCachingProvider
s. - Caching.CachingProviderRegistry - Class in javax.cache
-
Maintains a registry of loaded
CachingProvider
s scoped byClassLoader
. - CachingProvider - Interface in javax.cache.spi
-
Provides mechanisms to create, request and later manage the life-cycle of configured
CacheManager
s, identified byURI
s and scoped byClassLoader
s. - CachingProviderRegistry() - Constructor for class javax.cache.Caching.CachingProviderRegistry
-
Constructs a CachingProviderManager.
- cachingProviders - Variable in class javax.cache.Caching.CachingProviderRegistry
-
The
CachingProvider
s by Class Name organized by theClassLoader
was used to load them. - cancel(boolean) - Method in class javax.cache.integration.CompletionListenerFuture
-
Cancelling is not supported, always throws exception.
- ClassFactory(Class<T>) - 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
CacheWriter
s. - 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
Cache
signals to theCacheManager
that produced or owns theCache
that 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
CacheManager
instances and associated resources created and maintained by theCachingProvider
across allClassLoader
s. - close(ClassLoader) - Method in interface javax.cache.spi.CachingProvider
-
Closes all
CacheManager
instances and associated resources created by theCachingProvider
using the specifiedClassLoader
. - close(URI, ClassLoader) - Method in interface javax.cache.spi.CachingProvider
-
Closes all
CacheManager
instances and associated resources created by theCachingProvider
for the specifiedURI
andClassLoader
. - CompleteConfiguration<K,V> - Interface in javax.cache.configuration
-
A read-only representation of the complete JCache
Cache
configuration. - 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
Cache
configuration. - containsKey(K) - Method in interface javax.cache.Cache
-
Determines if the
Cache
contains an entry for the specified key. - 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
Cache
at runtime. - CREATED - javax.cache.event.EventType
-
An event type indicating that the cache entry was created.
- CreatedExpiryPolicy - Class in javax.cache.expiry
-
An
ExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was created. - CreatedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.CreatedExpiryPolicy
-
Constructs an
CreatedExpiryPolicy
ExpiryPolicy
.
D
- 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<K, V>) - Method in interface javax.cache.Cache
-
Deregisters a listener, using the
CacheEntryListenerConfiguration
that 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
Serializable
duration of time. - Duration() - Constructor for class javax.cache.expiry.Duration
-
Constructs an eternal duration (
isEternal()
is true). - Duration(long, long) - Constructor for class javax.cache.expiry.Duration
-
Constructs a
Duration
based 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
- 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
Cache
at runtime. - EntryProcessor<K,V,T> - Interface in javax.cache.processor
-
An invocable function that allows applications to perform compound operations on a
Cache.Entry
atomically, according to the defined consistency of aCache
. - EntryProcessorException - Exception in javax.cache.processor
-
An exception to indicate a problem occurred attempting to execute an
EntryProcessor
against an entry. - EntryProcessorException() - Constructor for exception javax.cache.processor.EntryProcessorException
-
Constructs a new CacheLoaderException.
- EntryProcessorException(String) - Constructor for exception javax.cache.processor.EntryProcessorException
-
Constructs a new CacheLoaderException with a message string.
- EntryProcessorException(String, Throwable) - Constructor for exception javax.cache.processor.EntryProcessorException
-
Constructs a CacheLoaderException with a message string, and a base exception
- EntryProcessorException(Throwable) - Constructor for exception 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
Cache
entry using anEntryProcessor
. - equals(Object) - Method in interface javax.cache.annotation.GeneratedCacheKey
-
Compare this
GeneratedCacheKey
with 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
ExpiryPolicy
specifies that Cache Entries won't expire. - EternalExpiryPolicy() - Constructor for class javax.cache.expiry.EternalExpiryPolicy
- evaluate(CacheEntryEvent<? extends K, ? extends V>) - 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() - Method in annotation type javax.cache.annotation.CacheRemove
-
Defines zero (0) or more exception
classes
, that must be a subclass ofThrowable
, indicating the exception types that must cause a cache eviction. - evictFor() - Method in annotation type javax.cache.annotation.CacheRemoveAll
-
Defines zero (0) or more exception
classes
, that must be a subclass ofThrowable
, indicating the exception types that must cause a cache eviction. - exception - Variable in class javax.cache.integration.CompletionListenerFuture
- exceptionCacheName() - Method 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 - javax.cache.event.EventType
-
An event type indicating that the cache entry has expired.
- expiryDuration - Variable in class javax.cache.expiry.AccessedExpiryPolicy
-
The
Duration
a Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.CreatedExpiryPolicy
-
The
Duration
a Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.ModifiedExpiryPolicy
-
The
Duration
a Cache Entry should be available before it expires. - expiryDuration - Variable in class javax.cache.expiry.TouchedExpiryPolicy
-
The
Duration
a 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
Factory
for 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
Factory
instances. - FactoryBuilder() - Constructor for class javax.cache.configuration.FactoryBuilder
-
A private constructor to prevent instantiation.
- FactoryBuilder.ClassFactory<T> - Class in javax.cache.configuration
-
A
Factory
that instantiates a specific Class. - FactoryBuilder.SingletonFactory<T> - Class in javax.cache.configuration
-
A
Factory
that always returns a specific instance. - factoryOf() - Static method in class javax.cache.expiry.EternalExpiryPolicy
-
Obtains a
Factory
for an EternalExpiryPolicy
. - factoryOf(Class<T>) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factory
that will produce factory instances of the specified class. - factoryOf(String) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factory
that will produce factory instances of the specified class. - factoryOf(Duration) - Static method in class javax.cache.expiry.AccessedExpiryPolicy
-
Obtains a
Factory
for an AccessedExpiryPolicy
. - factoryOf(Duration) - Static method in class javax.cache.expiry.CreatedExpiryPolicy
-
Obtains a
Factory
for a CreatedExpiryPolicy
. - factoryOf(Duration) - Static method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Obtains a
Factory
for a ModifiedExpiryPolicy
. - factoryOf(Duration) - Static method in class javax.cache.expiry.TouchedExpiryPolicy
-
Obtains a
Factory
for a TouchedExpiryPolicy
. - factoryOf(T) - Static method in class javax.cache.configuration.FactoryBuilder
-
Constructs a
Factory
that will return the specified factory Serializable instance. - filterFactory - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
The
Factory
to be used to create theCacheEntryEventFilter
. - FIVE_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Five minutes.
G
- generateCacheKey(CacheKeyInvocationContext<? extends Annotation>) - Method in interface javax.cache.annotation.CacheKeyGenerator
-
Called for each intercepted method invocation to generate a suitable cache key (as a
GeneratedCacheKey
) from theCacheKeyInvocationContext
data. - 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<? extends K>) - Method in interface javax.cache.Cache
-
Gets a collection of entries from the
Cache
, returning them asMap
of the values associated with the set of keys requested. - 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
Cache
given its name. - getCache(String, Class<K>, Class<V>) - Method in interface javax.cache.CacheManager
-
Looks up a managed
Cache
given its name. - getCache(String, Class<K>, Class<V>) - Static method in class javax.cache.Caching
-
A convenience that method that looks up a managed
Cache
given 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
Factory
for theCacheEntryEventFilter
that should be applied prior to notifying theCacheEntryListener
. - getCacheEntryEventFilterFactory() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Obtains the
Factory
for theCacheEntryEventFilter
that 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
Factory
for theCacheEntryListener
. - getCacheEntryListenerFactory() - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Obtains the
Factory
for 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
Factory
for theCacheLoader
, if any. - getCacheLoaderFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factory
for theCacheLoader
, if any. - getCacheManager() - Method in interface javax.cache.Cache
-
Gets the
CacheManager
that owns and manages theCache
. - getCacheManager() - Method in interface javax.cache.spi.CachingProvider
-
Requests a
CacheManager
configured 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
CacheManager
configured according to the implementation specificURI
that uses the providedClassLoader
for loading underlying classes. - getCacheManager(URI, ClassLoader, Properties) - Method in interface javax.cache.spi.CachingProvider
-
Requests a
CacheManager
configured according to the implementation specificURI
be made available that uses the providedClassLoader
for 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<? extends Annotation>) - Method in interface javax.cache.annotation.CacheResolverFactory
-
Get the
CacheResolver
used at runtime for resolution of theCache
for theCacheResult
,CachePut
,CacheRemove
, orCacheRemoveAll
annotation. - getCacheWriterFactory() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Gets the
Factory
for theCacheWriter
, if any. - getCacheWriterFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factory
for theCacheWriter
, if any. - getCachingProvider() - Method in interface javax.cache.CacheManager
-
Get the
CachingProvider
that created and is responsible for theCacheManager
. - getCachingProvider() - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtains the only
CachingProvider
defined by theCaching.CachingProviderRegistry.getDefaultClassLoader()
. - getCachingProvider() - Static method in class javax.cache.Caching
-
Obtains the default
CachingProvider
available via theCaching.getDefaultClassLoader()
. - getCachingProvider(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtains the only
CachingProvider
defined by the specifiedClassLoader
. - getCachingProvider(ClassLoader) - Static method in class javax.cache.Caching
-
Obtains the single
CachingProvider
visible to the specifiedClassLoader
. - getCachingProvider(String) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProvider
that is implemented by the specified fully qualified class name using theCaching.CachingProviderRegistry.getDefaultClassLoader()
. - getCachingProvider(String) - Static method in class javax.cache.Caching
-
Obtain the
CachingProvider
that is implemented by the specified fully qualified class name using theCaching.getDefaultClassLoader()
. - getCachingProvider(String, ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProvider
that is implemented by the specified fully qualified class name using the providedClassLoader
. - getCachingProvider(String, ClassLoader) - Static method in class javax.cache.Caching
-
Obtain the
CachingProvider
that is implemented by the specified fully qualified class name using the providedClassLoader
. - getCachingProviders() - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProvider
s that are available via theCaching.CachingProviderRegistry.getDefaultClassLoader()
. - getCachingProviders() - Static method in class javax.cache.Caching
-
Obtains the
CachingProvider
s that are available via theCaching.getDefaultClassLoader()
. - getCachingProviders(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Obtain the
CachingProvider
s that are available via the specifiedClassLoader
. - getCachingProviders(ClassLoader) - Static method in class javax.cache.Caching
-
Obtains the
CachingProvider
s that are available via the specifiedClassLoader
. - getClassLoader() - Method in interface javax.cache.CacheManager
-
Get the
ClassLoader
used by theCacheManager
. - getConfiguration(Class<C>) - 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
ClassLoader
to use for API methods that don't explicitly require aClassLoader
but internally require one. - getDefaultClassLoader() - Static method in class javax.cache.Caching
-
Obtains the
ClassLoader
to use for API methods that don't explicitly require aClassLoader
but internally require one. - getDefaultClassLoader() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
ClassLoader
that will be used by theCachingProvider
. - getDefaultProperties() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
Properties
for theCachingProvider
. - getDefaultURI() - Method in interface javax.cache.spi.CachingProvider
-
Obtains the default
URI
for 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<CacheResult>) - Method in interface javax.cache.annotation.CacheResolverFactory
-
Get the
CacheResolver
used at runtime for resolution of theCache
for theCacheResult
annotation to cache exceptions. - getExpiryForAccess() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForAccess() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Duration
before an accessed Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForCreation() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Duration
before a newly created Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.AccessedExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.CreatedExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.EternalExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in interface javax.cache.expiry.ExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.ModifiedExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryForUpdate() - Method in class javax.cache.expiry.TouchedExpiryPolicy
-
Gets the
Duration
before an updated Cache.Entry is considered expired. - getExpiryPolicyFactory() - Method in interface javax.cache.configuration.CompleteConfiguration
-
Gets the
Factory
for theExpiryPolicy
to be used for caches. - getExpiryPolicyFactory() - Method in class javax.cache.configuration.MutableConfiguration
-
Gets the
Factory
for theExpiryPolicy
to 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
CacheKeyGenerator
in creating aGeneratedCacheKey
. - getKeyType() - Method in interface javax.cache.configuration.Configuration
-
Determines the required type of keys for
Cache
s configured with thisConfiguration
. - getKeyType() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines the required type of keys for
Cache
s 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
Properties
that 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
CachePut
this is the parameter annotated withCacheValue
- getValueType() - Method in interface javax.cache.configuration.Configuration
-
Determines the required type of values for
Cache
s configured with thisConfiguration
. - getValueType() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines the required type of values for
Cache
s 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<K, V, T>, Object...) - Method in interface javax.cache.Cache
-
Invokes an
EntryProcessor
against theCache.Entry
specified by the provided key. - invokeAll(Set<? extends K>, EntryProcessor<K, V, T>, Object...) - Method in interface javax.cache.Cache
-
Invokes an
EntryProcessor
against the set ofCache.Entry
s 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
CacheManager
instance 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
Duration
is 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
Cache
should operate in read-through mode. - isReadThrough() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines if a
Cache
should operate in read-through mode. - isReadThrough() - Method in interface javax.cache.management.CacheMXBean
-
Determines if a
Cache
should 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
CacheEntryListener
be 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
CacheEntryListener
has 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
CacheEntryListener
has 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
Cache
should operate in write-through mode. - isWriteThrough() - Method in class javax.cache.configuration.MutableConfiguration
-
Determines if a
Cache
should operate in write-through mode. - isWriteThrough() - Method in interface javax.cache.management.CacheMXBean
-
Determines if a
Cache
should operate in "write-through" mode. - isZero() - Method in class javax.cache.expiry.Duration
-
Determines if a
Duration
is zero. - iterator() - Method in interface javax.cache.Cache
J
- JAVAX_CACHE_CACHING_PROVIDER - Static variable in class javax.cache.Caching
-
The
javax.cache.spi.cachingprovider
constant. - 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.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
Caching
class
K
- keyType - Variable in class javax.cache.configuration.MutableConfiguration
-
The type of keys for
Cache
s configured with thisConfiguration
.
L
- listenerConfigurations - Variable in class javax.cache.configuration.MutableConfiguration
-
The
CacheEntryListenerConfiguration
s for theConfiguration
. - listenerFactory - Variable in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
The
Factory
to be used to create theCacheEntryListener
. - load(K) - Method in interface javax.cache.integration.CacheLoader
-
Loads an object.
- loadAll(Iterable<? extends K>) - Method in interface javax.cache.integration.CacheLoader
-
Loads multiple objects.
- loadAll(Set<? extends K>, boolean, CompletionListener) - Method in interface javax.cache.Cache
-
Asynchronously loads the specified entries into the cache using the configured
CacheLoader
for the given keys. - loadCachingProvider(String, ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Load and instantiate the
CachingProvider
with 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
ExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was updated. - ModifiedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.ModifiedExpiryPolicy
-
Constructs an
ModifiedExpiryPolicy
ExpiryPolicy
. - MutableCacheEntryListenerConfiguration<K,V> - Class in javax.cache.configuration
-
A convenience class providing a mutable, serializable implementation of a
CacheEntryListenerConfiguration
. - MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Constructor for class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Constructs a
MutableCacheEntryListenerConfiguration
based on anotherCacheEntryListenerConfiguration
. - MutableCacheEntryListenerConfiguration(Factory<? extends CacheEntryListener<? super K, ? super V>>, Factory<? extends CacheEntryEventFilter<? super K, ? super V>>, 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<K, V>) - Constructor for class javax.cache.configuration.MutableConfiguration
-
Constructs a
MutableConfiguration
based on anotherCompleteConfiguration
. - MutableEntry<K,V> - Interface in javax.cache.processor
-
A mutable representation of a
Cache.Entry
.
N
- noCacheFor() - Method in annotation type javax.cache.annotation.CachePut
-
Defines zero (0) or more exception
Classes
, which must be a subclass ofThrowable
, indicating which exception types must not cause the parameter to be cached. - noEvictFor() - Method in annotation type javax.cache.annotation.CacheRemove
-
Defines zero (0) or more exception
Classes
, that must be a subclass ofThrowable
, indicating the exception types that must not cause a cache eviction. - noEvictFor() - Method in annotation type javax.cache.annotation.CacheRemoveAll
-
Defines zero (0) or more exception
Classes
, that must be a subclass ofThrowable
, indicating the exception types that must not cause a cache eviction. - nonCachedExceptions() - Method in annotation type javax.cache.annotation.CacheResult
-
Defines zero (0) or more exception
Classes
, that must be a subclass ofThrowable
, indicating the exception types that must not be cached.
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<CacheEntryEvent<? extends K, ? extends V>>) - 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<CacheEntryEvent<? extends K, ? extends V>>) - Method in interface javax.cache.event.CacheEntryExpiredListener
-
Called after one or more entries have been expired by the cache.
- onRemoved(Iterable<CacheEntryEvent<? extends K, ? extends V>>) - Method in interface javax.cache.event.CacheEntryRemovedListener
-
Called after one or more entries have been removed.
- onUpdated(Iterable<CacheEntryEvent<? extends K, ? extends V>>) - 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<K, V>, 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<? extends K, ? extends V>) - 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<K, V>) - 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<? extends K>) - Method in interface javax.cache.Cache
-
Removes entries for the specified keys.
- removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class javax.cache.configuration.MutableConfiguration
-
Remove a configuration for a
CacheEntryListener
. - REMOVED - 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<? extends Annotation>) - Method in interface javax.cache.annotation.CacheResolver
-
Resolve the
Cache
to use for theCacheInvocationContext
.
S
- serialVersionUID - Static variable in exception 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 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 javax.cache.integration.CacheLoaderException
- serialVersionUID - Static variable in exception javax.cache.integration.CacheWriterException
- serialVersionUID - Static variable in exception javax.cache.processor.EntryProcessorException
- setCacheEntryEventFilterFactory(Factory<? extends CacheEntryEventFilter<? super K, ? super V>>) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets the
Factory
to be used to create aCacheEntryEventFilter
. - setCacheEntryListenerFactory(Factory<? extends CacheEntryListener<? super K, ? super V>>) - Method in class javax.cache.configuration.MutableCacheEntryListenerConfiguration
-
Sets the
Factory
to be used to create aCacheEntryListener
. - setCacheLoaderFactory(Factory<? extends CacheLoader<K, V>>) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
CacheLoader
factory. - setCacheWriterFactory(Factory<? extends CacheWriter<? super K, ? super V>>) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
CacheWriter
factory. - setDefaultClassLoader(ClassLoader) - Method in class javax.cache.Caching.CachingProviderRegistry
-
Set the
ClassLoader
to 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
ClassLoader
to use for API methods that don't explicitly require aClassLoader
, but internally use one. - setExpiryPolicyFactory(Factory<? extends ExpiryPolicy>) - Method in class javax.cache.configuration.MutableConfiguration
-
Set the
Factory
for 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
CacheEntryListener
has been notified. - setTypes(Class<K>, Class<V>) - Method in class javax.cache.configuration.MutableConfiguration
-
Sets the expected type of keys and values for a
Cache
configured 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() - Method 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 - javax.cache.configuration.OptionalFeature
-
Implementation supports store by reference
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
ExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was last touched. - TouchedExpiryPolicy(Duration) - Constructor for class javax.cache.expiry.TouchedExpiryPolicy
-
Constructs an
TouchedExpiryPolicy
ExpiryPolicy
. - TWENTY_MINUTES - Static variable in class javax.cache.expiry.Duration
-
Twenty minutes.
U
- unwrap(Class<T>) - Method in interface javax.cache.annotation.CacheInvocationContext
-
Return an object of the specified type to allow access to the provider-specific API.
- unwrap(Class<T>) - 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<T>) - 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<T>) - 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 - 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
Cache
s configured with thisConfiguration
.
W
- write(Cache.Entry<? extends K, ? extends V>) - Method in interface javax.cache.integration.CacheWriter
-
Write the specified value under the specified key to the external resource.
- writeAll(Collection<Cache.Entry<? extends K, ? extends V>>) - 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 All Packages