com.hazelcast.nio.serialization
Class ArrayDataSerializableFactory

java.lang.Object
  extended by com.hazelcast.nio.serialization.ArrayDataSerializableFactory
All Implemented Interfaces:
DataSerializableFactory

public final class ArrayDataSerializableFactory
extends Object
implements DataSerializableFactory


Constructor Summary
ArrayDataSerializableFactory(ConstructorFunction<Integer,IdentifiedDataSerializable>[] ctorArray)
           
 
Method Summary
 IdentifiedDataSerializable create(int typeId)
          Creates an IdentifiedDataSerializable instance using given type id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayDataSerializableFactory

public ArrayDataSerializableFactory(ConstructorFunction<Integer,IdentifiedDataSerializable>[] ctorArray)
Method Detail

create

public IdentifiedDataSerializable create(int typeId)
Description copied from interface: DataSerializableFactory
Creates an IdentifiedDataSerializable instance using given type id

Specified by:
create in interface DataSerializableFactory
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.