| Package | Description |
|---|---|
| com.tangosol.io |
Contains classes providing cache persistence of serialized objects.
|
| com.tangosol.io.journal |
Contains classes related to the journaling services.
|
| com.tangosol.io.nio |
Contains classes related to J2SE 1.4 NIO functionality.
|
| com.tangosol.util |
Contains various generic utilities.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ReadBuffer
The ReadBuffer interface represents an in-memory block of binary data, such as that represented by a byte[], a Binary object, or an NIO buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractByteArrayReadBuffer
The AbstractByteArrayReadBuffer abstract class is intended to serve as a base class for the following: the pre-existing Binary class a new byte[] based class that does not attempt to add the immutability aspect provided by the Binary class a new ByteBuffer based class that will work with Java NIO This implementation is not intended to be thread safe.
|
class |
AbstractReadBuffer
Abstract base implementation of the ReadBuffer interface.
|
class |
ByteArrayReadBuffer
A ReadBuffer on top of a byte array.
|
class |
MultiBufferReadBuffer
The MultiBufferReadBuffer is a ReadBuffer implementation that presents a view across any number of underlying ReadBuffer objects, as if they were appended end-to-end into a single ReadBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
AbstractReadBuffer.subSequence(int ofStart, int ofEnd)
Returns a new
ByteSequence that is a subsequence of this sequence. |
ByteSequence |
ReadBuffer.subSequence(int ofStart, int ofEnd)
Returns a new
ByteSequence that is a subsequence of this sequence. |
| Modifier and Type | Method and Description |
|---|---|
static int |
AbstractReadBuffer.readPackedInt(ByteSequence bin, int of)
Read an int value using a variable-length storage format as described by
WriteBuffer.BufferOutput.writePackedInt(int) from the given ByteSequence and offset. |
static int |
AbstractReadBuffer.readUnsignedByte(ByteSequence bin, int of)
Read an unsigned byte value from the given
ByteSequence and offset. |
| Modifier and Type | Method and Description |
|---|---|
protected long |
AbstractJournalRM.encodeTicket(ByteSequence bin)
Encode a Binary into a "ticket".
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBufferReadBuffer
A ReadBuffer implementation on top of a Java NIO ByteBuffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractByteSequence
A simple base class for ByteSequence implementations.
|
static class |
AbstractByteSequence.AggregateByteSequence
A naive ByteSequence that glues two ByteSequence instances together.
|
static class |
AbstractByteSequence.PartialByteSequence
A naive ByteSequence that represents a portion of another ByteSequence.
|
class |
Binary
A thread-safe immutable binary object.
|
static class |
ExternalizableHelper.DecoratedMultiBufferReadBuffer
DecoratedMultiBufferReadBuffer is a MultiBufferWriteBuffer that represents a binary "decorated" value, and allows a more optimized
ExternalizableHelper.getUndecorated(ReadBuffer) operation. |
| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
AbstractByteSequence.subSequence(int ofStart, int ofEnd)
Returns a new
ByteSequence that is a subsequence of this sequence. |
ByteSequence |
AbstractByteSequence.AggregateByteSequence.subSequence(int ofStart, int ofEnd)
Returns a new
ByteSequence that is a subsequence of this sequence. |
ByteSequence |
ByteSequence.subSequence(int ofStart, int ofEnd)
Returns a new
ByteSequence that is a subsequence of this sequence. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ExternalizableHelper.isIntDecorated(ByteSequence buf)
Check whether or not the specified ByteSequence is a representation of an IntDecoratedObject.
|
static int |
Base.toCrc(ByteSequence seq)
Calculate a CRC32 value from a ByteSequence.
|
static int |
Base.toCrc(ByteSequence seq, int of, int cb, int nCrc)
Continue to calculate a CRC32 value from a portion of a ByteSequence .
|
static String |
Base.toHexEscape(ByteSequence seq, int of, int cb)
Convert a ByteSequence to a hex sequence of '0' + 'x' + 2 hex digits per byte.
|
| Constructor and Description |
|---|
AggregateByteSequence(ByteSequence seqFirst, ByteSequence seqSecond)
Construct an AggregateByteSequence from two ByteSequence objects.
|
PartialByteSequence(ByteSequence seq, int of, int cb)
Construct a PartialByteSequence from a ByteSequence.
|