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
    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
    FieldDefinition defines name, type, index of a field
    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 a mean of reading portable fields from a binary in form of java primitives arrays of java primitives, nested portable fields and array of portable fields.
    PortableWriter
    Provides a mean of writing portable fields to a binary in form of java primitives arrays of java primitives, nested portable fields and array 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
    VersionedPortable is an extension to Portable to support per class 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
    This is an exception thrown when an exception occurs while serializing/deserializing objects.