public abstract class Response extends Object implements IdentifiedDataSerializable
Response
is a result of an Operation
being executed.
There are different types of responses:
NormalResponse
the result of a regular Operation result, e.g. Map.put
BackupResponse
the result of a completed Backup
.
Modifier and Type | Field and Description |
---|---|
protected long |
callId |
protected boolean |
urgent |
Constructor and Description |
---|
Response() |
Response(long callId,
boolean urgent) |
Modifier and Type | Method and Description |
---|---|
long |
getCallId()
Returns the call id of the operation this response belongs to.
|
int |
getFactoryId() |
boolean |
isUrgent()
Check if this Response is an urgent response.
|
void |
readData(ObjectDataInput in) |
void |
writeData(ObjectDataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
public boolean isUrgent()
public long getCallId()
public int getFactoryId()
getFactoryId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2014 Hazelcast, Inc.. All rights reserved.