|
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.util.ExternalizableHelper.Stats
protected static class ExternalizableHelper.Stats
Serialization statistics for a given user type. Do not document.
Constructor Summary | |
---|---|
protected |
ExternalizableHelper.Stats() |
Method Summary | |
---|---|
com.tangosol.io.WriteBuffer |
allocate(int cbPreviousTotal) Allocate a WriteBuffer for use by the MultiBufferWriteBuffer. |
int |
getMaximumCapacity() Determine the largest amount of aggregate WriteBuffer capacity that this factory can provide. |
void |
release(com.tangosol.io.WriteBuffer buffer) Returns a WriteBuffer to the pool. |
Constructor Detail |
---|
protected ExternalizableHelper.Stats()
Method Detail |
---|
public int getMaximumCapacity()
getMaximumCapacity
in interface com.tangosol.io.MultiBufferWriteBuffer.WriteBufferPool
public com.tangosol.io.WriteBuffer allocate(int cbPreviousTotal)
Note that the returned WriteBuffer is expected to be empty, and its capacity is expected to be identical to its maximum capacity, i.e. it is not expected to resize itself, since the purpose of the MultiBufferWriteBuffer is to act as a dynamically-sized WriteBuffer.
allocate
in interface com.tangosol.io.MultiBufferWriteBuffer.WriteBufferPool
cbPreviousTotal
- the total number of bytes of capacity of the WriteBuffer objects that the MultiBufferWriteBuffer has thus far consumedpublic void release(com.tangosol.io.WriteBuffer buffer)
release
in interface com.tangosol.io.MultiBufferWriteBuffer.WriteBufferPool
buffer
- the WriteBuffer that is no longer being used
|
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 |