public static class ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager extends AbstractBackingMapManager
Base.LoggingWriter, Base.StackFrame
Modifier | Constructor and Description |
---|---|
protected |
PartitionedBackingMapManager(ExtensibleConfigurableCacheFactory factory,
MapBuilder.Dependencies dependencies,
com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder bldrMap)
Create a PartitionedBackingMapManager object.
|
Modifier and Type | Method and Description |
---|---|
ExtensibleConfigurableCacheFactory |
getCacheFactory()
Obtain the "container" ConfigurableCacheFactory that created
this manager and which this manager is bound to.
|
StorageAccessAuthorizer |
getStorageAccessAuthorizer(String sName)
Determine the
StorageAccessAuthorizer that is used by a
CacheService to secure access to the NamedCache with the specified name. |
Map |
instantiateBackingMap(String sName)
Instantiate a [thread safe] Map that should be used by a CacheService
to store cached values for a NamedCache with the specified name.
|
boolean |
isBackingMapPersistent(String sName)
Determine if the contents of the Map that is used by a CacheService to
store cached values for a NamedCache with the specified name should be
persisted.
|
boolean |
isBackingMapSlidingExpiry(String sName)
Determine if the Map that is used by a CacheService to store cached values
for a NamedCache with specified name enables the sliding expiry - the
expiry delay being extended by the read operations.
|
void |
releaseBackingMap(String sName,
Map map)
Release the specified Map that was created using the
BackingMapManager.instantiateBackingMap(String) method. |
getContext, init
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, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isBackingMapPersistent
protected PartitionedBackingMapManager(ExtensibleConfigurableCacheFactory factory, MapBuilder.Dependencies dependencies, com.tangosol.config.expression.ParameterResolver resolver, MapBuilder bldrMap)
factory
- the factory associated with this managerdependencies
- the MapBuilder
dependenciesresolver
- the ParameterResolver needed to resolve cache paramsbldrMap
- the builder that will build the backing mappublic Map instantiateBackingMap(String sName)
If the contents of the Map can be modified by anything other than the CacheService itself (e.g. if the Map automatically expires its entries periodically or size-limits its contents), then the returned object must implement the ObservableMap interface. NOTE: The cache name passed in has a partition number appended to it so that we cannot use it to find a parameter resolver. This is why the resolver is passed into the constructor.
sName
- the name of the NamedCache for which this backing map
is being createdpublic boolean isBackingMapPersistent(String sName)
sName
- the name of the NamedCachepublic boolean isBackingMapSlidingExpiry(String sName)
sName
- the name of the NamedCachepublic StorageAccessAuthorizer getStorageAccessAuthorizer(String sName)
StorageAccessAuthorizer
that is used by a
CacheService to secure access to the NamedCache with the specified name.sName
- the name of the NamedCacheStorageAccessAuthorizer
or null if the authorizer is not configuredpublic void releaseBackingMap(String sName, Map map)
BackingMapManager.instantiateBackingMap(String)
method. This method is invoked
by the CacheService when the CacheService no longer requires the
specified Map object.releaseBackingMap
in interface BackingMapManager
releaseBackingMap
in class AbstractBackingMapManager
sName
- the name of the NamedCache for which the specified Map
object has acted as the backing mapmap
- the Map object that is being releasedpublic ExtensibleConfigurableCacheFactory getCacheFactory()