|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
K - the type of the keys used to access data within the cacheV - the type of the values held within the cachepublic interface CacheRuntimeConfiguration<K,V>
Represents the configuration currently used by a Cache. It only exposes mutative operations for
attributes that can be changed on a "RUNNING" Cache instance.
| Method Summary | |
|---|---|
void |
deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
Allows for deregistering of a previously registered CacheEventListener instance |
void |
registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
EventOrdering ordering,
EventFiring firing,
EventType eventType,
EventType... eventTypes)
Allows for registering CacheEventListener on the cache |
void |
registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
EventOrdering ordering,
EventFiring firing,
java.util.Set<EventType> forEventTypes)
Allows for registering CacheEventListener on the cache |
void |
updateResourcePools(ResourcePools pools)
updates ResourcePools |
| Methods inherited from interface org.ehcache.config.CacheConfiguration |
|---|
getClassLoader, getEvictionVeto, getExpiry, getKeyType, getResourcePools, getServiceConfigurations, getValueType |
| Method Detail |
|---|
void registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
EventOrdering ordering,
EventFiring firing,
java.util.Set<EventType> forEventTypes)
CacheEventListener on the cache
listener - the listener instance to registerordering - the EventOrdering to invoke this listenerfiring - the EventFiring to invoke this listenerforEventTypes - the set of EventTypes to notify this listener of
java.lang.IllegalStateException - if the listener is already registered
void registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
EventOrdering ordering,
EventFiring firing,
EventType eventType,
EventType... eventTypes)
CacheEventListener on the cache
listener - the listener instance to registerordering - the EventOrdering to invoke this listenerfiring - the EventFiring to invoke this listenereventType - the EventType to notify this listener ofeventTypes - additional EventType to notify this listener of
java.lang.IllegalStateException - if the listener is already registeredvoid deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
CacheEventListener instance
listener - the listener to deregister
java.lang.IllegalStateException - if the listener isn't already registeredvoid updateResourcePools(ResourcePools pools)
pools - the ResourcePools that need to be updated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||