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> extends CacheConfiguration<K,V>
Modifier and Type | Method and Description |
---|---|
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
|
getClassLoader, getEvictionVeto, getExpiry, getKeyType, getResourcePools, getServiceConfigurations, getValueType
void registerCacheEventListener(CacheEventListener<? super K,? super V> listener, EventOrdering ordering, EventFiring firing, java.util.Set<EventType> forEventTypes)
CacheEventListener
on the cachelistener
- the listener instance to registerordering
- the ordering
required by this listenerfiring
- the firing mode
required by this listenerforEventTypes
- the set of EventType
s to notify this listener ofjava.lang.IllegalStateException
- if the listener is already registeredvoid registerCacheEventListener(CacheEventListener<? super K,? super V> listener, EventOrdering ordering, EventFiring firing, EventType eventType, EventType... eventTypes)
CacheEventListener
on the cachelistener
- the listener instance to registerordering
- the ordering
required by this listenerfiring
- the firing mode
required by this listenereventType
- the event type
to notify this listener ofeventTypes
- additional event types
to notify this listener ofjava.lang.IllegalStateException
- if the listener is already registeredvoid deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
CacheEventListener
instancelistener
- the listener to deregisterjava.lang.IllegalStateException
- if the listener isn't already registeredvoid updateResourcePools(ResourcePools pools)
pools
- the ResourcePools
that need to be updated