Package com.tangosol.net.topic
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 theTopicDependenciesusedS- the type of theNamedTopicSchemedefining 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTopicBackingMapManager(ExtensibleConfigurableCacheFactory eccf)Create aTopicBackingMapManager.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SfindTopicScheme(String sName)Find theNamedTopicSchemethat defines a topic.abstract DgetTopicDependencies(String sName)Get theTopicDependenciesfor a topic.protected MapinstantiatePartitionedBackingMap(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 Detail
-
TopicBackingMapManager
protected TopicBackingMapManager(ExtensibleConfigurableCacheFactory eccf)
Create aTopicBackingMapManager.- Parameters:
eccf- the owningExtensibleConfigurableCacheFactory
-
-
Method Detail
-
findTopicScheme
public abstract S findTopicScheme(String sName)
Find theNamedTopicSchemethat defines a topic.- Parameters:
sName- the name of the topic- Returns:
- the
NamedTopicSchemethat defines the topic
-
getTopicDependencies
public abstract D getTopicDependencies(String sName)
Get theTopicDependenciesfor a topic.- Parameters:
sName- the name of the topic- Returns:
- the
TopicDependenciesfor the topic
-
instantiatePartitionedBackingMap
protected Map instantiatePartitionedBackingMap(MapBuilder bldrMap, ParameterResolver resolver, MapBuilder.Dependencies dependencies, CachingScheme scheme)
Description copied from class:ExtensibleConfigurableCacheFactory.ManagerInstantiate 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:
instantiatePartitionedBackingMapin classExtensibleConfigurableCacheFactory.Manager- Parameters:
bldrMap- theMapBuilderfor partitionsresolver- theParameterizedBuilderdependencies- theExtensibleConfigurableCacheFactory.DependenciesforMapBuildersscheme- theCachingSchemeof the requested cache- Returns:
- partitioned backing map that will provide backing storage for the specified cache
-
-