public interface VersionedDataSerializableFactory extends DataSerializableFactory
It extends the DataSerializableFactory so that it may also produce the newest/default objects outside the versioned-scope. If the creation of the object is done in the context of no versioning the default create(int typeId) method will be used.
Modifier and Type | Method and Description |
---|---|
IdentifiedDataSerializable |
create(int typeId,
Version version)
Creates an IdentifiedDataSerializable instance using given type ID and object version
|
create
IdentifiedDataSerializable create(int typeId, Version version)
typeId
- IdentifiedDataSerializable type IDversion
- version of the IdentifiedDataSerializable to createMemberVersion
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.