Package | Description |
---|---|
com.tangosol.io |
Contains classes providing cache persistence of serialized objects.
|
com.tangosol.io.nio |
Contains classes related to J2SE 1.4 NIO functionality.
|
com.tangosol.io.pof |
Contains classes related to POF serialization and deserialization.
|
com.tangosol.io.pof.reflect |
Contains classes related to POF stream navigation and manipulation.
|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractByteArrayReadBuffer.ByteArrayBufferInput
This is a simple implementation of the BufferInput interface on top of
a byte array.
|
class |
AbstractReadBuffer.AbstractBufferInput
This is an implementation of the BufferInput interface that delegates
its work back to its ReadBuffer.
|
class |
MultiBufferReadBuffer.MultiBufferInput
An implementation of the BufferInput interface that is backed by a
series of the underlying ReadBuffer BufferInput objects.
|
class |
WrapperBufferInput
This is an imitation BufferInput implementation that provides the
BufferInput interface by delegating to an object that implements the
DataInput interface.
|
static class |
WrapperBufferInput.VersionAwareBufferInput
A BufferInput implementation that in addition to delegating to the given
DataInput provides an API to check whether the sender of the content of
this BufferInput runs a version that supersedes (greater or equal to)
the specified version.
|
Modifier and Type | Method and Description |
---|---|
ReadBuffer.BufferInput |
ReadBuffer.getBufferInput()
Get a BufferInput object to read data from this buffer.
|
ReadBuffer.BufferInput |
AbstractReadBuffer.getBufferInput()
Get a BufferInput object to read data from this buffer.
|
ReadBuffer.BufferInput |
MultiBufferReadBuffer.getDestructiveBufferInput()
Return a self-destructing BufferInput over this Buffer.
|
protected ReadBuffer.BufferInput |
MultiBufferReadBuffer.MultiBufferInput.getIn()
Obtain the underlying BufferOutput.
|
protected abstract ReadBuffer.BufferInput |
AbstractReadBuffer.instantiateBufferInput()
Factory method: Instantiate a BufferInput object to read data from the
ReadBuffer.
|
protected ReadBuffer.BufferInput |
AbstractByteArrayReadBuffer.instantiateBufferInput()
Factory method: Instantiate a BufferInput object to read data from the
ReadBuffer.
|
protected ReadBuffer.BufferInput |
MultiBufferReadBuffer.instantiateBufferInput()
Factory method: Instantiate a BufferInput object to read data from the
ReadBuffer.
|
protected ReadBuffer.BufferInput |
MultiBufferReadBuffer.instantiateBufferInput(boolean fDestructive)
Factory method: Instantiate a BufferInput object to read data from the
ReadBuffer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWriteBuffer.copyBufferInputPortion(int ofDest,
ReadBuffer.BufferInput inSrc,
int cbSrc)
Read a portion of the specified BufferInput and write it to the
specified offset within this buffer.
|
protected int |
AbstractWriteBuffer.copyBufferInputRemainder(int ofDest,
ReadBuffer.BufferInput inSrc,
int cbMax)
Read the remaining contents of the specified BufferInput and write it
to the specified offset within this buffer.
|
Object |
DefaultSerializer.deserialize(ReadBuffer.BufferInput in) |
default Object |
Serializer.deserialize(ReadBuffer.BufferInput in)
Deserialize an object from a ReadBuffer by reading its state using the
specified BufferInput object.
|
default <T> T |
Serializer.deserialize(ReadBuffer.BufferInput in,
Class<? extends T> clazz)
Deserialize an object as an instance of the specified class by reading
its state using the specified BufferInput object.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteBufferReadBuffer.ByteBufferInput
This is a simple implementation of the BufferInput interface on top of
a ByteBuffer.
|
Modifier and Type | Method and Description |
---|---|
protected ReadBuffer.BufferInput |
ByteBufferReadBuffer.instantiateBufferInput()
Factory method: Instantiate a BufferInput object to read data from the
ReadBuffer.
|
Modifier and Type | Field and Description |
---|---|
protected ReadBuffer.BufferInput |
PofBufferReader.m_in
The BufferInput containing the POF stream.
|
Modifier and Type | Method and Description |
---|---|
Object |
SimplePofContext.deserialize(ReadBuffer.BufferInput in)
Deserialize an object from a ReadBuffer by reading its state using the
specified BufferInput object.
|
Object |
ConfigurablePofContext.deserialize(ReadBuffer.BufferInput in)
Deserialize an object from a ReadBuffer by reading its state using the
specified BufferInput object.
|
protected void |
PofDeltaCompressor.diffCollection(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare an array or
collection.
|
protected void |
PofDeltaCompressor.diffMap(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a Map of keys
and values.
|
protected void |
PofDeltaCompressor.diffPackedInt(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a packed integer
value.
|
protected void |
PofDeltaCompressor.diffPackedInts(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker,
int cInts)
Within the two passed POF streams, parse and compare a series of packed
integer values.
|
protected void |
PofDeltaCompressor.diffPackedLong(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a packed long
integer value.
|
protected void |
PofDeltaCompressor.diffPackedLongs(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker,
int cInts)
Within the two passed POF streams, parse and compare a series of packed
long integer values.
|
protected void |
PofDeltaCompressor.diffSparseArray(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a sparse array.
|
protected void |
PofDeltaCompressor.diffTimeZone(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare time zone
information.
|
protected void |
PofDeltaCompressor.diffUniformCollection(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare an array or
collection of uniform types.
|
protected void |
PofDeltaCompressor.diffUniformKeysMap(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a Map of keys (of
a uniform type) and values.
|
protected void |
PofDeltaCompressor.diffUniformMap(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a Map of keys
and values, both of uniform types.
|
protected void |
PofDeltaCompressor.diffUniformSparseArray(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a sparse array of
uniform types.
|
protected void |
PofDeltaCompressor.diffUniformValue(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker,
int nType)
Within the two passed POF streams, parse and compare a POF value of the
specified type.
|
protected void |
PofDeltaCompressor.diffUserType(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a user type value.
|
protected void |
PofDeltaCompressor.diffValue(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew,
PofDeltaCompressor.ChangeTracker tracker)
Within the two passed POF streams, parse and compare a POF value.
|
void |
PofParser.parse(ReadBuffer.BufferInput in)
Parse a POF value that is in the passed BufferInput.
|
protected void |
PofParser.parseArray(ReadBuffer.BufferInput in,
int iPos)
Parse an Array from the POF stream.
|
protected void |
PofParser.parseCollection(ReadBuffer.BufferInput in,
int iPos)
Parse a Collection from the POF stream.
|
protected void |
PofParser.parseMap(ReadBuffer.BufferInput in,
int iPos)
Parse a Map from the POF stream.
|
protected void |
PofParser.parseSparseArray(ReadBuffer.BufferInput in,
int iPos)
Parse a Sparse Array from the POF stream.
|
protected void |
PofParser.parseUniformArray(ReadBuffer.BufferInput in,
int iPos)
Parse a Uniform Array from the POF stream.
|
protected void |
PofParser.parseUniformCollection(ReadBuffer.BufferInput in,
int iPos)
Parse a Uniform Collection from the POF stream.
|
protected void |
PofParser.parseUniformKeysMap(ReadBuffer.BufferInput in,
int iPos)
Parse a Uniform-Keys Map from the POF stream.
|
protected void |
PofParser.parseUniformMap(ReadBuffer.BufferInput in,
int iPos)
Parse a Uniform Map from the POF stream.
|
protected void |
PofParser.parseUniformSparseArray(ReadBuffer.BufferInput in,
int iPos)
Parse a Uniform Sparse Array from the POF stream.
|
protected void |
PofParser.parseUniformValue(ReadBuffer.BufferInput in,
int iPos,
int nType)
Within the POF stream, parse a POF value of the specified type that is
in the passed BufferInput.
|
protected void |
PofParser.parseUserType(ReadBuffer.BufferInput in,
int iPos,
int nType)
Parse a User Type from the POF stream.
|
protected void |
PofParser.parseValue(ReadBuffer.BufferInput in,
int iPos)
Within the POF stream, parse a POF value that is in the passed
BufferInput.
|
static BigDecimal |
PofHelper.readAsBigDecimal(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a BigDecimal.
|
static BigInteger |
PofHelper.readAsBigInteger(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a BigInteger.
|
static char |
PofHelper.readAsChar(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a char.
|
static double |
PofHelper.readAsDouble(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a double.
|
static float |
PofHelper.readAsFloat(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a float.
|
static int |
PofHelper.readAsInt(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to an integer.
|
static long |
PofHelper.readAsLong(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a long.
|
static RawQuad |
PofHelper.readAsQuad(ReadBuffer.BufferInput in,
int nType)
Read a value of the specified encoding from the POF stream and convert
it to a quad.
|
static BigDecimal |
PofHelper.readBigDecimal(ReadBuffer.BufferInput in,
int cBytes)
Read an IEEE754 value from the passed DataInput and convert it to a
Java BigDecimal.
|
protected static Binary |
PofBufferReader.readBinary(ReadBuffer.BufferInput in)
Read a Binary object from the specified BufferInput in an optimal way,
depending on the existence of an enclosing ReadBuffer.
|
static LocalDate |
PofHelper.readLocalDate(ReadBuffer.BufferInput in)
Read a LocalDate value from a POF stream.
|
static LocalDateTime |
PofHelper.readLocalDateTime(ReadBuffer.BufferInput in)
Read a LocalDateTime value from a POF stream.
|
static LocalTime |
PofHelper.readLocalTime(ReadBuffer.BufferInput in)
Read a LocalTime value from a POF stream.
|
static OffsetDateTime |
PofHelper.readOffsetDateTime(ReadBuffer.BufferInput in)
Read a OffsetDateTime value from a POF stream.
|
static OffsetTime |
PofHelper.readOffsetTime(ReadBuffer.BufferInput in)
Read a OffsetTime value from a POF stream.
|
static RawQuad |
PofHelper.readQuad(ReadBuffer.BufferInput in)
Read a quad (a 128-bit base-2 IEEE754 value) from the passed DataInput
and convert it to a RawQuad.
|
static RawDate |
PofHelper.readRawDate(ReadBuffer.BufferInput in)
Read a RawDate value from a POF stream.
|
static RawTime |
PofHelper.readRawTime(ReadBuffer.BufferInput in)
Read a RawTime value from a POF stream.
|
static void |
PofHelper.skipPackedInts(ReadBuffer.BufferInput in,
int c)
Skip the specified number of packed integers in the passed POF stream.
|
static void |
PofHelper.skipUniformValue(ReadBuffer.BufferInput in,
int nType)
Within the POF stream, skip the next POF value of the specified type.
|
static void |
PofHelper.skipValue(ReadBuffer.BufferInput in)
Within the POF stream, skip the next POF value.
|
Constructor and Description |
---|
ChangeTracker(ReadBuffer.BufferInput inOld,
ReadBuffer.BufferInput inNew)
Construct a ChangeTracker that will produce a delta between the
two passed streams.
|
PofBufferReader(ReadBuffer.BufferInput in,
PofContext ctx)
Construct a new PofBufferReader that will read a POF stream from the
passed BufferInput object.
|
UserTypeReader(PofBufferReader parent,
ReadBuffer.BufferInput in,
PofContext ctx,
int nTypeId,
int nVersionId)
Construct a parser for parsing the property values of a user type.
|
UserTypeReader(ReadBuffer.BufferInput in,
PofContext ctx,
int nTypeId,
int nVersionId)
Construct a parser for parsing the property values of a user type.
|
Modifier and Type | Method and Description |
---|---|
protected static PofValue |
PofValueParser.instantiatePofValue(PofValue valueParent,
int nType,
ReadBuffer bufValue,
PofContext ctx,
int of,
ReadBuffer.BufferInput in)
Creates a PofValue instance.
|
protected void |
ComplexPofValue.skipChild(ReadBuffer.BufferInput in)
Skip a single child value.
|
Modifier and Type | Method and Description |
---|---|
Object |
NullImplementation.NullPofContext.deserialize(ReadBuffer.BufferInput in)
Deserialize an object from a ReadBuffer by reading its state using the
specified BufferInput object.
|
static int |
ExternalizableHelper.readInt(ReadBuffer.BufferInput in)
Read an int that uses variable length storage in the buffer.
|
static long |
ExternalizableHelper.readLong(ReadBuffer.BufferInput in)
Read a long that uses variable length storage in the buffer.
|
static String |
ExternalizableHelper.readSafeUTF(ReadBuffer.BufferInput in)
Read a variable-length encoded UTF packed String in the buffer.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
ExternalizableHelper.fromBinary(Binary bin,
Serializer serializer,
Remote.Function<ReadBuffer.BufferInput,ReadBuffer.BufferInput> supplier)
Read an object from a Binary object using the specified Serializer.
|
static <T> T |
ExternalizableHelper.fromBinary(Binary bin,
Serializer serializer,
Remote.Function<ReadBuffer.BufferInput,ReadBuffer.BufferInput> supplier)
Read an object from a Binary object using the specified Serializer.
|
static <T> T |
ExternalizableHelper.fromBinary(Binary bin,
Serializer serializer,
Remote.Function<ReadBuffer.BufferInput,ReadBuffer.BufferInput> supplier,
Class<T> clazz)
Read an object from a Binary object using the specified Serializer and expected class.
|
static <T> T |
ExternalizableHelper.fromBinary(Binary bin,
Serializer serializer,
Remote.Function<ReadBuffer.BufferInput,ReadBuffer.BufferInput> supplier,
Class<T> clazz)
Read an object from a Binary object using the specified Serializer and expected class.
|