public class AwaitInvocationKey extends Object implements WaitKey, IdentifiedDataSerializable
ICountDownLatch.await(long, TimeUnit)
} invocationModifier 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 sessionId()
WaitKey
AbstractProxySessionManager.NO_SESSION_ID
if no session
is attached.public long commitIndex()
WaitKey
commitIndex
in interface WaitKey
public UUID invocationUid()
WaitKey
invocationUid
in interface WaitKey
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- 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
DataSerializable
readData
in interface DataSerializable
in
- 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.