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
ConstructorsConstructorDescriptionDeprecated, 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 TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Reads fields from the input streamvoidsetVersionIfNotSet(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.voidDeprecated, 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:DataSerializableWrites object fields to output stream- Specified by:
 writeDatain interfaceDataSerializable- Parameters:
 out- output- Throws:
 IOException- if an I/O error occurs. In particular, anIOExceptionmay 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:DataSerializableReads fields from the input stream- Specified by:
 readDatain interfaceDataSerializable- Parameters:
 in- input- Throws:
 IOException- if an I/O error occurs. In particular, anIOExceptionmay 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. 
 -