|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.journal.RamJournalRM.BufferPool
protected class RamJournalRM.BufferPool
A pooling implementation for WriteBuffer objects.
Constructor Summary | |
---|---|
RamJournalRM.BufferPool() Instantiate a buffer pool to provide buffers to the journal appending process. |
Method Summary | |
---|---|
WriteBuffer |
allocate() Allocate a WriteBuffer from the buffer pool. |
int |
getCapacity() Determine the maximum number of buffers in the pool. |
int |
getSize() Determine the current number of buffers in the pool. |
void |
release(WriteBuffer buf) Return a buffer to the pool. |
java.lang.String |
toString() |
Constructor Detail |
---|
public RamJournalRM.BufferPool()
Method Detail |
---|
public WriteBuffer allocate()
public void release(WriteBuffer buf)
buf
- the WriteBuffer to return to the poolpublic int getSize()
public int getCapacity()
public java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |