|
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.FlashJournalRM.BufferPool
protected static class FlashJournalRM.BufferPool
The BufferPool class recycles up to a maximum number of Buffer objects.
Constructor Summary | |
---|---|
FlashJournalRM.BufferPool(int cbBuffer, int cMaxBuffers) Instantiate a buffer pool to provide buffers to the journal appending process. |
Method Summary | |
---|---|
FlashJournalRM.Buffer |
allocate(byte[] abOv) Allocate a buffer from the buffer pool. |
int |
getSize() Determine the current size of the pool. |
void |
release(FlashJournalRM.Buffer buf) Return a buffer to the pool. |
java.lang.String |
toString() |
Constructor Detail |
---|
public FlashJournalRM.BufferPool(int cbBuffer, int cMaxBuffers)
cbBuffer
- the size of each buffercMaxBuffers
- the maximum number of buffers to hold on toMethod Detail |
---|
public FlashJournalRM.Buffer allocate(byte[] abOv)
abOv
- the overlay byte[]public void release(FlashJournalRM.Buffer buf)
buf
- the Buffer to return to the poolpublic int getSize()
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 |