com.hazelcast.nio.serialization
Interface Serializer

All Known Subinterfaces:
ByteArraySerializer<T>, StreamSerializer<T>
All Known Implementing Classes:
ArrayListSerializerHook.ArrayListStreamSerializer, ConstantSerializers.BooleanSerializer, ConstantSerializers.ByteSerializer, ConstantSerializers.CharArraySerializer, ConstantSerializers.CharSerializer, ConstantSerializers.DoubleArraySerializer, ConstantSerializers.DoubleSerializer, ConstantSerializers.FloatArraySerializer, ConstantSerializers.FloatSerializer, ConstantSerializers.IntegerArraySerializer, ConstantSerializers.IntegerSerializer, ConstantSerializers.LongArraySerializer, ConstantSerializers.LongSerializer, ConstantSerializers.ShortArraySerializer, ConstantSerializers.ShortSerializer, ConstantSerializers.StringSerializer, ConstantSerializers.TheByteArraySerializer, DefaultSerializers.BigDecimalSerializer, DefaultSerializers.BigIntegerSerializer, DefaultSerializers.ClassSerializer, DefaultSerializers.DateSerializer, DefaultSerializers.EnumSerializer, DefaultSerializers.Externalizer, DefaultSerializers.ObjectSerializer, LinkedListSerializerHook.LinkedListStreamSerializer

public interface Serializer

Base interface of custom serialization interfaces

see ByteArraySerializer see StreamSerializer


Method Summary
 void destroy()
          Called when instance is shutting down.
 int getTypeId()
           
 

Method Detail

getTypeId

int getTypeId()
Returns:
typeId of serializer

destroy

void destroy()
Called when instance is shutting down. It can be used to clear used resources.



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.