com.hazelcast.nio.serialization
Interface DataSerializableFactory

All Known Implementing Classes:
ArrayDataSerializableFactory

public interface DataSerializableFactory

DataSerializableFactory is used to create IdentifiedDataSerializable instances during de-serialization.

See Also:
IdentifiedDataSerializable

Method Summary
 IdentifiedDataSerializable create(int typeId)
          Creates an IdentifiedDataSerializable instance using given type id
 

Method Detail

create

IdentifiedDataSerializable create(int typeId)
Creates an IdentifiedDataSerializable instance using given type id

Parameters:
typeId - IdentifiedDataSerializable type id
Returns:
IdentifiedDataSerializable instance or null if type id is not known by this factory


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