|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.nio.AbstractStoreManager
public abstract class AbstractStoreManager
A base implementation of BinaryStoreManager interface that uses BinaryMap
objects built on a ByteBufferManager
to provide BinaryStore
objects.
Constructor Summary | |
---|---|
AbstractStoreManager(int cbInitial, int cbMaximum) Construct a AbstractStoreManager that uses BinaryMap objests built on the ByteBufferManager(s) with certain initial and maximum size. |
Method Summary | |
---|---|
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. |
Constructor Detail |
---|
public AbstractStoreManager(int cbInitial, int cbMaximum)
cbInitial
- the initial size of the managed bufferscbMaximum
- the maximum size of the managed buffersMethod Detail |
---|
public 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()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |