Package com.hazelcast.nio.serialization
Class PortableId
java.lang.Object
com.hazelcast.nio.serialization.PortableId
- All Implemented Interfaces:
DataSerializable
@Deprecated(since="5.4",
forRemoval=true)
public class PortableId
extends Object
implements DataSerializable
Deprecated, for removal: This API element is subject to removal in a future version.
Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization
will be removed as of version 7.0.
Uniquely defines a
Portable
class.-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.PortableId
(int factoryId, int classId, int version) Deprecated, for removal: This API element is subject to removal in a future version.PortableId
(String portableId) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Reads fields from the input streamvoid
setVersionIfNotSet
(int version) Deprecated, for removal: This API element is subject to removal in a future version.toString()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Writes object fields to output stream
-
Constructor Details
-
PortableId
Deprecated, for removal: This API element is subject to removal in a future version. -
PortableId
public PortableId(int factoryId, int classId, int version) Deprecated, for removal: This API element is subject to removal in a future version. -
PortableId
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getFactoryId
public int getFactoryId()Deprecated, for removal: This API element is subject to removal in a future version. -
getClassId
public int getClassId()Deprecated, for removal: This API element is subject to removal in a future version. -
getVersion
public int getVersion()Deprecated, for removal: This API element is subject to removal in a future version. -
setVersionIfNotSet
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
writeData
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DataSerializable
Writes object fields to output stream- Specified by:
writeData
in interfaceDataSerializable
- Parameters:
out
- output- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the output stream has been closed.
-
readData
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DataSerializable
Reads fields from the input stream- Specified by:
readData
in interfaceDataSerializable
- Parameters:
in
- input- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the input stream has been closed.
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-