Uses of Interface
com.tangosol.io.WriteBuffer
Package
Description
Contains classes providing cache persistence of serialized objects.
Contains classes related to J2SE 1.4 NIO functionality.
Contains various generic utilities.
-
Uses of WriteBuffer in com.tangosol.io
Modifier and TypeClassDescriptionclass
The AbstractWriteBuffer is a partial implementation of the WriteBuffer interface intended to be used as a base class for easily creating concrete WriteBuffer implementations.class
ByteArrayWriteBuffer is an implementation of WriteBuffer on a byte array.final class
A DelegatingWriteBuffer is a WriteBuffer that writes through to an underlying (or "containing") WriteBuffer.final class
The MultiBufferWriteBuffer is used to present a single WriteBuffer that collects together a sequence of underlying WriteBuffer objects, and which grows by allocating additional WriteBuffer objects as necessary.Modifier and TypeFieldDescriptionprotected WriteBuffer
DelegatingWriteBuffer.m_buf
The WriteBuffer to delegate to; the "containing" WriteBuffer.Modifier and TypeMethodDescriptionprotected WriteBuffer
MultiBufferWriteBuffer.addBuffer()
Once the current buffer is full, allocate a new one and make it the current buffer.ByteArrayWriteBuffer.Allocator.allocate
(int cbPreviousTotal) Allocate a new ByteArrayWriteBuffer.MultiBufferWriteBuffer.WriteBufferPool.allocate
(int cbPreviousTotal) Allocate a WriteBuffer for use by the MultiBufferWriteBuffer.AbstractWriteBuffer.AbstractBufferOutput.getBuffer()
Get the WriteBuffer object that this BufferOutput is writing to.MultiBufferWriteBuffer.getBuffer
(int iBuffer) Obtain the specified buffer.SizeEstimatingBufferOutput.getBuffer()
WrapperBufferOutput.getBuffer()
Get the WriteBuffer object that this BufferOutput is writing to.WriteBuffer.BufferOutput.getBuffer()
Get the WriteBuffer object that this BufferOutput is writing to.protected WriteBuffer
MultiBufferWriteBuffer.getCurrentBuffer()
Obtain the current buffer.AbstractWriteBuffer.getWriteBuffer
(int of) Obtain a WriteBuffer starting at a particular offset within this WriteBuffer.AbstractWriteBuffer.getWriteBuffer
(int of, int cb) Obtain a WriteBuffer for a portion of this WriteBuffer.WriteBuffer.getWriteBuffer
(int of) Obtain a WriteBuffer starting at a particular offset within this WriteBuffer.WriteBuffer.getWriteBuffer
(int of, int cb) Obtain a WriteBuffer for a portion of this WriteBuffer.Modifier and TypeMethodDescriptionvoid
ByteArrayWriteBuffer.Allocator.release
(WriteBuffer buffer) Release the supplied buffer into the pool.void
MultiBufferWriteBuffer.WriteBufferPool.release
(WriteBuffer buffer) Returns a WriteBuffer to the pool.ModifierConstructorDescriptionByteArrayWriteBuffer
(WriteBuffer buffer, int i, int cb) Create a new ByteArrayWriteBuffer based on a region of an already existing WriteBuffer.DelegatingWriteBuffer
(WriteBuffer buf, int of, int cb) Construct a DelegatingWriteBuffer that will delegate to the containing WriteBuffer. -
Uses of WriteBuffer in com.tangosol.io.nio
Modifier and TypeClassDescriptionfinal class
A WriteBuffer implementation on top of a Java NIO ByteBuffer. -
Uses of WriteBuffer in com.tangosol.util
Modifier and TypeClassDescriptionfinal class
a WriteBuffer implementation whose primary purpose is to be used to create Binary objects.Modifier and TypeMethodDescriptionExternalizableHelper.Stats.allocate
(int cbPreviousTotal) Allocate a WriteBuffer for use by the MultiBufferWriteBuffer.Modifier and TypeMethodDescriptionvoid
ExternalizableHelper.Stats.release
(WriteBuffer buffer) Returns a WriteBuffer to the pool.static Binary
ExternalizableHelper.toBinary
(Object o, Serializer serializer, WriteBuffer buf) Write an object into a Binary object using the specified Serializer.