Package com.hazelcast.nio.serialization
Interface DataSerializableFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
DataSerializableFactory is used to create IdentifiedDataSerializable instances during de-serialization.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(int typeId) Creates an IdentifiedDataSerializable instance using given type ID
-
Method Details
-
create
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
-