Package com.tangosol.io.nio
Class AbstractStoreManager
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.nio.AbstractStoreManager
- All Implemented Interfaces:
- BinaryStoreManager
- Direct Known Subclasses:
- DirectStoreManager,- MappedStoreManager
A base implementation of BinaryStoreManager interface that uses
 
BinaryMap objects built on a ByteBufferManager to provide
 BinaryStore objects.- Since:
- Coherence 2.4
- Author:
- gg 2004.06.09
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractStoreManager(int cbInitial, int cbMaximum) Construct a AbstractStoreManager that uses BinaryMap objests built on the ByteBufferManager(s) with certain initial and maximum size.
- 
Method SummaryModifier and TypeMethodDescriptionFactory method: Returns a new BinaryStore.protected abstract ByteBufferManagerCreate a ByteBufferManager to be used by a BinaryStore.voiddestroyBinaryStore(BinaryStore store) Lifecycle method: Destroy a BinaryStore previously created by this manager.intDetermine the maximum size that the managed buffers can reach.intDetermine the minimum size that the managed buffers can reach.voidsetMaxCapacity(int cb) Specify the maximum size that the managed buffers can reach.voidsetMinCapacity(int cb) Specify the minimum size that the managed buffers can reach.Methods inherited from class com.tangosol.util.Baseazzert, 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
- 
Constructor Details- 
AbstractStoreManagerpublic AbstractStoreManager(int cbInitial, int cbMaximum) Construct a AbstractStoreManager that uses BinaryMap objests built on the ByteBufferManager(s) with certain initial and maximum size.- Parameters:
- cbInitial- the initial size of the managed buffers
- cbMaximum- the maximum size of the managed buffers
 
 
- 
- 
Method Details- 
getMinCapacitypublic int getMinCapacity()Determine the minimum size that the managed buffers can reach.- Returns:
- minimum size for the managed buffers
 
- 
setMinCapacitypublic void setMinCapacity(int cb) Specify the minimum size that the managed buffers can reach.- Parameters:
- cb- minimum size for the managed buffers
 
- 
getMaxCapacitypublic int getMaxCapacity()Determine the maximum size that the managed buffers can reach.- Returns:
- maximum size for the managed buffers
 
- 
setMaxCapacitypublic void setMaxCapacity(int cb) Specify the maximum size that the managed buffers can reach.- Parameters:
- cb- maximum size for the managed buffers
 
- 
createBinaryStoreFactory method: Returns a new BinaryStore.- Specified by:
- createBinaryStorein interface- BinaryStoreManager
- Returns:
- a new BinaryStore object
 
- 
destroyBinaryStoreLifecycle method: Destroy a BinaryStore previously created by this manager.- Specified by:
- destroyBinaryStorein interface- BinaryStoreManager
- Parameters:
- store- a BinaryStore object previously created by this manager
 
- 
createBufferManagerCreate a ByteBufferManager to be used by a BinaryStore.
 
-