K - the type of key.V - the type of value.public interface ICacheInternal<K,V> extends ICache<K,V>
ICache implementations.ICache| Modifier and Type | Method and Description |
|---|---|
void |
open()
Opens cache if available (not destroyed).
|
void |
registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration,
boolean addToConfig)
Registers the provided listener configuration.
|
addPartitionLostListener, destroy, get, getAll, getAndPut, getAndPutAsync, getAndPutAsync, getAndRemoveAsync, getAndReplace, getAndReplaceAsync, getAndReplaceAsync, getAsync, getAsync, getLocalCacheStatistics, isDestroyed, iterator, put, putAll, putAsync, putAsync, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, removePartitionLostListener, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, sizeclear, close, containsKey, deregisterCacheEntryListener, get, getAll, getAndPut, getAndRemove, getAndReplace, getCacheManager, getConfiguration, getName, invoke, invokeAll, isClosed, iterator, loadAll, put, putAll, putIfAbsent, registerCacheEntryListener, remove, remove, removeAll, removeAll, replace, replace, unwrapforEach, spliteratorgetPrefixedNamegetName, getPartitionKey, getServiceNamevoid open()
IllegalStateException - if cache is already destroyedvoid registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration, boolean addToConfig) throws IllegalArgumentException
cacheEntryListenerConfiguration - The cache configuration to be used for registering the entry listeneraddToConfig - If true, the configuration is added to the existing listeners in the cache config.IllegalArgumentExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.