public final class ArrayDataSerializableFactory extends Object implements VersionedDataSerializableFactory
Constructor and Description |
---|
ArrayDataSerializableFactory(ConstructorFunction<Integer,IdentifiedDataSerializable>[] ctorArray) |
Modifier and Type | Method and Description |
---|---|
IdentifiedDataSerializable |
create(int typeId)
Creates an IdentifiedDataSerializable instance using given type ID
|
IdentifiedDataSerializable |
create(int typeId,
Version version)
Creates an IdentifiedDataSerializable instance using given type ID and object version
|
public ArrayDataSerializableFactory(ConstructorFunction<Integer,IdentifiedDataSerializable>[] ctorArray)
public IdentifiedDataSerializable create(int typeId)
DataSerializableFactory
create
in interface DataSerializableFactory
typeId
- IdentifiedDataSerializable type IDnull
if type ID is not known by this factorypublic IdentifiedDataSerializable create(int typeId, Version version)
VersionedDataSerializableFactory
create
in interface VersionedDataSerializableFactory
typeId
- IdentifiedDataSerializable type IDversion
- version of the IdentifiedDataSerializable to createMemberVersion
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.