Package | Description |
---|---|
javax.cache |
This package contains the API for JCache.
|
javax.cache.configuration |
This package contains configuration classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
void |
Cache.deregisterCacheEntryListener(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Deregisters a listener, using the
CacheEntryListenerConfiguration that was used to register it. |
void |
Cache.registerCacheEntryListener(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Registers a
CacheEntryListener . |
Modifier and Type | Class and Description |
---|---|
class |
MutableCacheEntryListenerConfiguration<K,V>
A convenience class providing a mutable, serializable implementation of a
CacheEntryListenerConfiguration . |
Modifier and Type | Field and Description |
---|---|
protected HashSet<CacheEntryListenerConfiguration<K,V>> |
MutableConfiguration.listenerConfigurations
The
CacheEntryListenerConfiguration s for the Configuration . |
Modifier and Type | Method and Description |
---|---|
Iterable<CacheEntryListenerConfiguration<K,V>> |
MutableConfiguration.getCacheEntryListenerConfigurations()
|
Iterable<CacheEntryListenerConfiguration<K,V>> |
CompleteConfiguration.getCacheEntryListenerConfigurations()
|
Modifier and Type | Method and Description |
---|---|
MutableConfiguration<K,V> |
MutableConfiguration.addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Add a configuration for a
CacheEntryListener . |
MutableConfiguration<K,V> |
MutableConfiguration.removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Remove a configuration for a
CacheEntryListener . |
Constructor and Description |
---|
MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K,V> configuration)
Constructs a
MutableCacheEntryListenerConfiguration based on
another CacheEntryListenerConfiguration . |
Copyright © 2014. All Rights Reserved.