K - the key type for the cacheV - the value type for the cachepublic interface CacheRuntimeConfiguration<K,V> extends CacheConfiguration<K,V>
| Modifier and Type | Method and Description | 
|---|---|
| void | deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)Deregisters a previously registered  CacheEventListenerinstance. | 
| default void | registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
                          EventOrdering ordering,
                          EventFiring firing,
                          EventType eventType,
                          EventType... eventTypes)Registers a  CacheEventListeneron the cache. | 
| void | registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
                          EventOrdering ordering,
                          EventFiring firing,
                          java.util.Set<EventType> forEventTypes)Registers a  CacheEventListeneron the cache. | 
| void | updateResourcePools(ResourcePools pools)Updates the  ResourcePoolsused by theCache. | 
derive, getClassLoader, getEvictionAdvisor, getExpiry, getExpiryPolicy, getKeyType, getResourcePools, getServiceConfigurations, getValueTypevoid registerCacheEventListener(CacheEventListener<? super K,? super V> listener, EventOrdering ordering, EventFiring firing, java.util.Set<EventType> forEventTypes)
CacheEventListener on the cache.
 
 The registered listener will be configured according to the provided EventOrdering, EventFiring
 and EventType set.
 
Registering a listener will cause the eventing subsystem to start.
listener - the listener instance to registerordering - the EventOrdering required by this listenerfiring - the EventFiring required by this listenerforEventTypes - the set of EventTypes for which this listener is to be registeredjava.lang.IllegalStateException - if the listener is already registereddefault void registerCacheEventListener(CacheEventListener<? super K,? super V> listener, EventOrdering ordering, EventFiring firing, EventType eventType, EventType... eventTypes)
CacheEventListener on the cache.
 
 The registered listener will be configured according to the provided EventOrdering, EventFiring
 and EventTypes.
 
Registering a listener will cause the eventing subsystem to start.
listener - the listener instance to registerordering - the EventOrdering required by this listenerfiring - the EventFiring required by this listenereventType - the EventType for which this listener is to be registeredeventTypes - additional EventTypes for which this listener is to be registeredjava.lang.IllegalStateException - if the listener is already registeredvoid deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
CacheEventListener instance.
 Deregistering all listeners will cause the eventing subsystem to stop.
listener - the listener to deregisterjava.lang.IllegalStateException - if the listener is not registeredvoid updateResourcePools(ResourcePools pools)
ResourcePools used by the Cache.pools - the ResourcePools that need to be updated