|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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 to| Method 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® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||