Class TransactionalScheme.Manager
- java.lang.Object
-
- com.tangosol.util.Base
-
- com.tangosol.net.AbstractBackingMapManager
-
- com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
-
- com.tangosol.coherence.config.scheme.TransactionalScheme.Manager
-
- All Implemented Interfaces:
BackingMapManager
- Enclosing class:
- TransactionalScheme
public static class TransactionalScheme.Manager extends ExtensibleConfigurableCacheFactory.Manager
The Manager class uses builders to create the required backing maps and provides client access to those maps. The transactional manager is needed to bootstrap the transactional framework. It also needs to load high-units into the parameter list.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
-
Constructor Summary
Constructors Constructor Description Manager(ExtensibleConfigurableCacheFactory factory)
Construct aBackingMapManager
needed for the transactional scheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScopedParameterResolver
getScopedResolver(String sName)
Return theScopedParameterResolver
for the given cache.void
init(BackingMapManagerContext context)
Called by a CacheService to indicate to this manager that the manager is being associated with the CacheService.-
Methods inherited from class com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
findCachingScheme, findDistributedScheme, getBackingMap, getCacheFactory, getReadLocator, getResolver, getStorageAccessAuthorizer, 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, 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
-
Manager
public Manager(ExtensibleConfigurableCacheFactory factory)
Construct aBackingMapManager
needed for the transactional scheme.- Parameters:
factory
- the ConfigurableCacheFactory associated with this manager
-
-
Method Detail
-
init
public void init(BackingMapManagerContext context)
Called by a CacheService to indicate to this manager that the manager is being associated with the CacheService. This method is called once immediately upon the startup of the CacheService, before any NamedCache objects are created by the CacheService.Important note: BackingMapManager cannot be associated with more then one instance of a CacheService. However, in a situation when a CacheService automatically restarts, it is possible that this manager instance is re-used by a newly created (restarted) CacheService calling this method once again providing a new context.
Important note: BackingMapManager cannot be associated with more than one instance of a CacheService. However, in a situation when a CacheService automatically restarts, it is possible that this manager instance is re-used by a newly created (restarted) CacheService calling this method once again providing a new context.
- Specified by:
init
in interfaceBackingMapManager
- Overrides:
init
in classExtensibleConfigurableCacheFactory.Manager
- Parameters:
context
- the BackingMapManagerContext object for this BackingMapManager
-
getScopedResolver
protected ScopedParameterResolver getScopedResolver(String sName)
Return theScopedParameterResolver
for the given cache. A scoped resolver is needed so that a sub-class (like TransactionScheme.Manager) can add a parameter to the resolver.- Overrides:
getScopedResolver
in classExtensibleConfigurableCacheFactory.Manager
- Parameters:
sName
- the cache name- Returns:
- the
ScopedParameterResolver
-
-