Class PartitionedCacheConfigurationMapListener
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.AbstractMapListener
com.tangosol.coherence.jcache.partitionedcache.PartitionedCacheConfigurationMapListener
- All Implemented Interfaces:
MapListener
,MapListenerSupport.SynchronousListener
,SynchronousListener
,EventListener
public class PartitionedCacheConfigurationMapListener
extends AbstractMapListener
implements MapListenerSupport.SynchronousListener
MapListener for meta-information about JCache
PartitionedCache
instances.
This cache is named CoherenceBasedCache.JCACHE_CONFIG_CACHE_NAME
.
This cache is a meta-cache where the key is a JCacheIdentifier for a PartitionedCache
and the value is the PartitionedCacheConfiguration.
This listener manages the JCacheContext in storage-enabled nodes for CoherenceBasedCache.JCACHE_PARTITIONED_SCHEME_NAME
.
This maplistener is registered on each near-cache of CoherenceBasedCache.JCACHE_CONFIG_SCHEME_NAME
.
The map listener is required to execute on each storage-enabled node that has accessed the JCacheContext for
the map's key, a JCacheIdentifier.- Since:
- Coherence 12.1.3
- Author:
- jf 2014.04.15
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
Field Summary
Fields inherited from class com.tangosol.util.Base
LOG_ALWAYS, LOG_CONFIG, LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_MAX, LOG_MIN, LOG_QUIET, LOG_WARN, POWER_0, POWER_G, POWER_K, POWER_M, POWER_T, UNIT_D, UNIT_H, UNIT_M, UNIT_MS, UNIT_NS, UNIT_S, UNIT_US
Fields inherited from interface com.tangosol.util.MapListener
ASYNCHRONOUS, SYNCHRONOUS, VERSION_AWARE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
entryDeleted
(MapEvent evt) Remove JCacheContext for JCache identified by evt.getKey().void
setResourceRegistry
(ResourceRegistry registry) InjectResourceRegistry
associated with theConfigurableCacheFactory
that created the cache that this maplistener is added to.Methods inherited from class com.tangosol.util.AbstractMapListener
entryInserted, entryUpdated, equals
Methods inherited from class com.tangosol.util.Base
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.util.MapListener
entryInserted, entryUpdated, isAsynchronous, isSynchronous, isVersionAware, synchronous
Methods inherited from interface com.tangosol.util.MapListenerSupport.SynchronousListener
characteristics
-
Constructor Details
-
PartitionedCacheConfigurationMapListener
public PartitionedCacheConfigurationMapListener()
-
-
Method Details
-
entryDeleted
Remove JCacheContext for JCache identified by evt.getKey().- Specified by:
entryDeleted
in interfaceMapListener
- Overrides:
entryDeleted
in classAbstractMapListener
- Parameters:
evt
- the key of this map event identifies which JCacheContext needs to be unregistered.
-
setResourceRegistry
InjectResourceRegistry
associated with theConfigurableCacheFactory
that created the cache that this maplistener is added to.- Parameters:
registry
- theResourceRegistry
-