Package com.tangosol.io.pof
Contains classes related to POF serialization and deserialization.
-
Interface Summary Interface Description EvolvableObject Defines an interface that should be implemented by the classes that want to support evolution.EvolvablePortableObject Extension of thePortableObject
interface that supports forwards- and backwards-compatibility of POF data streams.PofConfigProvider A provider of POF configuration URIs to load into aConfigurablePofContext
.PofConstants The constants related to POF streams.PofContext The PofContext interface represents a set of user types that can be serialized to and deserialized from a POF stream.PofHandler This interface defines the handler for an event-driven approach to parsing (or assembling) a POF stream.PofReader The PofReader interface provides the capability of reading a set of non-primitive Java types ("user types") from a POF stream as an ordered sequence of indexed properties.PofSerializer<T> The PofSerializer interface provides the capability of reading and writing a Java object from and to a POF stream.PofWriter The PofWriter interface provides the capability of writing a set of non-primitive Java types ("user types") to a POF stream as an ordered sequence of indexed properties.PortableObject The PortableObject interface is implemented by Java classes that can self- serialize and deserialize their state to and from a POF data stream. -
Class Summary Class Description AbstractPofHandler An abstract implementation of PofHandler that delegates to a PofHandler.ConfigurablePofContext This class implements thePofContext
interface using information provided in a configuration file (or in a passed XML configuration) as well as classes annotated withPortableType
.ConfigurablePofContext.PofConfig The information related to the configuration of a particular PofContext for a specific URI and ClassLoader.DuplexingPofHandler An implementation of PofHandler that passes each call onto two different PofHandler objects.EnumPofSerializer PofSerializer
implementation that can be used to serialize all enum values.EvolvableHolder Storage for evolvable classes.ExternalizableLitePofSerializer PofSerializer
implementation that supports the serialization and deserialization of any class that implementsExternalizableLite
to and from a POF stream.ExternalizablePofSerializer PofSerializer
implementation that supports the serialization and deserialization of any class that implementsExternalizable
to and from a POF stream.InetAddressSerializer POF serializer forjava.net.InetAddress
.InetSocketAddressSerializer POF serializer forjava.net.InetSocketAddress
.LoggingPofHandler An implementation of PofHandler that logs all of the stream contents for debugging / testing purposes.OptionalDoubleSerializer POF serializer forjava.util.OptionalDouble
.OptionalIntSerializer POF serializer forjava.util.OptionalInt
.OptionalLongSerializer POF serializer forjava.util.OptionalLong
.OptionalSerializer POF serializer forjava.util.Optional
.PofAnnotationSerializer<T> APofAnnotationSerializer
provides annotation based de/serialization.PofBufferReader PofReader
implementation that reads POF-encoded data from aBufferInput
.PofBufferReader.IdentityHolder PofBufferReader.UserTypeReader The UserTypeReader implementation is a contextually-aware PofReader whose purpose is to advance through the properties of a value of a specified user type.PofBufferWriter PofWriter
implementation that writes POF-encoded data to aBufferOutput
.PofBufferWriter.ReferenceLibrary A "library" of object references and their corresponding identities in the POF stream.PofBufferWriter.UserTypeWriter The UserTypeWriter implementation is a contextually-aware PofWriter whose purpose is to write the properties of a value of a specified user type.PofDeltaCompressor A DeltaCompressor implementation that works with Portable Object Format (POF) values.PofDeltaCompressor.ChangeTracker When determining a delta between two POF buffers, the ChangeTracker keeps track of whether the current location within the two POF streams is part of a differing portion or part of an identical portion.PofHelper Collection of helper methods for POF streams.PofHelper.ReadableEntrySetMap Map implementation backed by a List of Map.Entry objects.PofHelper.WriteableEntrySetMap Immutable Map implementation backed by a Set of Map.Entry objects.PofInputStream An ObjectInput implementation suitable for reading Externalizable and ExternalizableLite objects from a POF stream, although without support for schema evolution and other advanced POF features.PofOutputStream An ObjectOutput implementation suitable for writing Externalizable and ExternalizableLite objects to a POF stream, although without support for schema evolution and other advanced POF features.PofParser A "push" parser (event-based parser) for ripping through a POF stream and delivering the contents as events to a PofHandler object.PofPrincipal Generic Principal implementation that can be used to represent the identity of any remote entity.PortableObjectSerializer PofSerializer
implementation that supports the serialization and deserialization of any class that implementsPortableObject
to and from a POF stream.PortableTypeSerializer<T> APofSerializer
implementation that serializes classes that implementPortableObject
interface (and optionallyEvolvableObject
interface).PrincipalPofSerializer PofSerializer implementation that can serialize and deserialize aPrincipal
to/from a POF stream.RawDate An immutable POF date value.RawDateTime An immutable POF date-time value.RawDayTimeInterval An immutable POF day-time interval value.RawQuad An immutable POF 128-bit float.RawTime An immutable POF time value.RawTimeInterval An immutable POF time interval value.RawYearMonthInterval An immutable POF year-month interval value.SafeConfigurablePofContext SafeConfigurablePofContext is an extension of ConfigurablePofContext that can serialize and deserialize any valid POF user type, even those that have not been explicitly configured, as well as any Java serializable types (Serializable, Externalizable, or ExternalizableLite).SerializableSerializer SimplePofContext BasicPofContext
implementation.SubjectPofSerializer PofSerializer implementation that can serialize and deserialize aSubject
to/from a POF stream.ThrowablePofSerializer ValidatingPofHandler An implementation of PofHandler that validates a POF stream.WritingPofHandler An implementation of PofHandler that writes a POF stream to a WriteBuffer using a BufferOutput object.WritingPofHandler.Complex A Complex object represents the current complex data structure in the POF stream.WritingPofHandler.ComplexMap A ComplexMap object represents a map data structure (with uniform keys or with uniform keys and values) in the POF stream.XmlSerializablePofSerializer PofSerializer
implementation that supports the serialization and deserialization of any class that implementsXmlSerializable
to and from a POF stream. -
Enum Summary Enum Description DateMode Enumeration that defines different ways for serialization of date/time values. -
Exception Summary Exception Description PortableException APortableException
is an exception that allows information about a remote exception or error to be serialized and deserialized to/from aPOF
stream.