Package com.hazelcast.nio.serialization

Contains interfaces/classes related to serialization, such as serializer interfaces, input/output streams.
  • Interface Summary
    Interface Description
    ByteArraySerializer<T>
    For sample usage custom serialization and other way of custom serialization see StreamSerializer.
    ClassDefinition
    Defines a class schema for Portable classes.
    ClassNameFilter
    Allows to intercept class resolution during deserialization based on classname.
    DataSerializable
    DataSerializable is a serialization method alternative to standard Java serialization.
    DataSerializableFactory
    DataSerializableFactory is used to create IdentifiedDataSerializable instances during de-serialization.
    FieldDefinition
    Defines the name, type and index of a field.
    GenericRecord
    A generic object interface that is returned to user when the domain class can not be created from any of the distributed hazelcast data structures like IMap ,IQueue etc.
    GenericRecord.Builder
    Interface for creating GenericRecord instances.
    IdentifiedDataSerializable
    IdentifiedDataSerializable is an extension to DataSerializable to avoid reflection during de-serialization.
    Portable
    Portable provides an alternative serialization method.
    PortableFactory
    PortableFactory is used to create Portable instances during de-serialization.
    PortableReader
    Provides means for reading portable fields from binary data in the form of java primitives, arrays of java primitives, nested portable fields and array of portable fields.
    PortableWriter
    Provides means for writing portable fields to binary data in the form of java primitives, arrays of java primitives, nested portable fields and arrays of portable fields.
    Serializer
    Base interface of custom serialization interfaces
    SerializerHook<T>
    This interface is used to automatically register serializers from external Hazelcast or user modules.
    Both types of Serializers are supported (StreamSerializer and ByteArraySerializer).
    StreamSerializer<T>
    A base class for custom serialization.
    TypedByteArrayDeserializer<T>
    This interface allows deserialization of a binary data with a provided class type.
    TypedDataSerializable
    This interface adds the possibility for the class to act as if it is another class when being deserialized using DataSerializable
    TypedStreamDeserializer<T>
    This interface allows deserialization of a binary data with a provided class type.
    VersionedPortable
    An extension to Portable to support per-object version instead of a global serialization version.
  • Class Summary
    Class Description
    ClassDefinitionBuilder
    ClassDefinitionBuilder is used to build and register ClassDefinitions manually.
  • Enum Summary
    Enum Description
    FieldType  
  • Exception Summary
    Exception Description
    HazelcastSerializationException
    An exception thrown when a problem occurs while serializing/deserializing objects.