public class LockInvocationKey extends Object implements WaitKey, IdentifiedDataSerializable
| Constructor and Description |
|---|
LockInvocationKey() |
| Modifier and Type | Method and Description |
|---|---|
long |
commitIndex()
Returns commit index of the operation that has not returned a response
at the time of its commit.
|
boolean |
equals(Object o) |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
hashCode() |
UUID |
invocationUid()
Returns unique id of the committed operation which is provided by the caller.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
long |
sessionId()
Returns id of the session to which the corresponding operation is
attached.
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public long commitIndex()
WaitKeycommitIndex in interface WaitKeypublic long sessionId()
WaitKeyAbstractProxySessionManager.NO_SESSION_ID if no session
is attached.public UUID invocationUid()
WaitKeyinvocationUid in interface WaitKeypublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.