public abstract class AbstractStoreManager extends Base implements BinaryStoreManager
BinaryMap
objects built on a ByteBufferManager
to provide
BinaryStore
objects.Base.LoggingWriter, Base.StackFrame
Constructor and Description |
---|
AbstractStoreManager(int cbInitial,
int cbMaximum)
Construct a AbstractStoreManager that uses BinaryMap objests built on
the ByteBufferManager(s) with certain initial and maximum size.
|
Modifier and Type | Method and Description |
---|---|
BinaryStore |
createBinaryStore()
Factory method: Returns a new BinaryStore.
|
protected abstract ByteBufferManager |
createBufferManager()
Create a ByteBufferManager to be used by a BinaryStore.
|
void |
destroyBinaryStore(BinaryStore store)
Lifecycle method: Destroy a BinaryStore previously created by this
manager.
|
int |
getMaxCapacity()
Determine the maximum size that the managed buffers can reach.
|
int |
getMinCapacity()
Determine the minimum size that the managed buffers can reach.
|
void |
setMaxCapacity(int cb)
Specify the maximum size that the managed buffers can reach.
|
void |
setMinCapacity(int cb)
Specify the minimum size that the managed buffers can reach.
|
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, 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
public AbstractStoreManager(int cbInitial, int cbMaximum)
cbInitial
- the initial size of the managed bufferscbMaximum
- the maximum size of the managed bufferspublic int getMinCapacity()
public void setMinCapacity(int cb)
cb
- minimum size for the managed bufferspublic int getMaxCapacity()
public void setMaxCapacity(int cb)
cb
- maximum size for the managed bufferspublic BinaryStore createBinaryStore()
createBinaryStore
in interface BinaryStoreManager
public void destroyBinaryStore(BinaryStore store)
destroyBinaryStore
in interface BinaryStoreManager
store
- a BinaryStore object previously created by this
managerprotected abstract ByteBufferManager createBufferManager()