com.hazelcast.nio.serialization
public interface IdentifiedDataSerializable extends DataSerializable
DataSerializable
to avoid reflection during de-serialization.
Each IdentifiedDataSerializable is
created by a registered DataSerializableFactory
.DataSerializable
,
Portable
,
DataSerializableFactory
Modifier and Type | Method and Description |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
readData, writeData
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.