Class TopicBackingMapManager<D extends TopicDependencies, S extends NamedTopicScheme>
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.AbstractBackingMapManager
com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
com.tangosol.net.topic.TopicBackingMapManager<D,S>
- Type Parameters:
D
- the type of theTopicDependencies
usedS
- the type of theNamedTopicScheme
defining the topic
- All Implemented Interfaces:
BackingMapManager
public abstract class TopicBackingMapManager<D extends TopicDependencies, S extends NamedTopicScheme>
extends ExtensibleConfigurableCacheFactory.Manager
A base class for topic backing map managers.
- Since:
- 22.09
- Author:
- Jonathan Knight 2002.09.10
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract S
findTopicScheme
(String sName) Find theNamedTopicScheme
that defines a topic.abstract D
getTopicDependencies
(String sName) Get theTopicDependencies
for a topic.protected Map
instantiatePartitionedBackingMap
(MapBuilder bldrMap, ParameterResolver resolver, MapBuilder.Dependencies dependencies, CachingScheme scheme) Instantiate a partitioned backing map (an instance ofObservableSplittingBackingMap
) usingExtensibleConfigurableCacheFactory.PartitionedBackingMapManager
.Methods inherited from class com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
findCachingScheme, findDistributedScheme, getBackingMap, getCacheFactory, getReadLocator, getResolver, getScopedResolver, getStorageAccessAuthorizer, init, instantiateBackingMap, instantiateBackupMap, instantiatePartitionedBackingMap, isBackingMapPersistent, isBackingMapSlidingExpiry, isBackupPartitioned, releaseBackingMap, releaseBackupMap, setBackingMap
Methods inherited from class com.tangosol.net.AbstractBackingMapManager
getContext
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, newHashMap, newHashMap, newHashSet, newHashSet, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.net.BackingMapManager
isBackingMapPersistent
-
Constructor Details
-
TopicBackingMapManager
Create aTopicBackingMapManager
.- Parameters:
eccf
- the owningExtensibleConfigurableCacheFactory
-
-
Method Details
-
findTopicScheme
Find theNamedTopicScheme
that defines a topic.- Parameters:
sName
- the name of the topic- Returns:
- the
NamedTopicScheme
that defines the topic
-
getTopicDependencies
Get theTopicDependencies
for a topic.- Parameters:
sName
- the name of the topic- Returns:
- the
TopicDependencies
for the topic
-
instantiatePartitionedBackingMap
protected Map instantiatePartitionedBackingMap(MapBuilder bldrMap, ParameterResolver resolver, MapBuilder.Dependencies dependencies, CachingScheme scheme) Description copied from class:ExtensibleConfigurableCacheFactory.Manager
Instantiate a partitioned backing map (an instance ofObservableSplittingBackingMap
) usingExtensibleConfigurableCacheFactory.PartitionedBackingMapManager
. If the provided scheme is an instance ofReadWriteBackingMapScheme
, the internal scheme's map builder is used to build the backing map.- Overrides:
instantiatePartitionedBackingMap
in classExtensibleConfigurableCacheFactory.Manager
- Parameters:
bldrMap
- theMapBuilder
for partitionsresolver
- theParameterizedBuilder
dependencies
- theExtensibleConfigurableCacheFactory.Dependencies
forMapBuilder
sscheme
- theCachingScheme
of the requested cache- Returns:
- partitioned backing map that will provide backing storage for the specified cache
-