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()
Returns DataSerializableFactory factory id for this class. 
 | 
boolean | 
isUrgent()
Check if this Response is an urgent response. 
 | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic boolean isUrgent()
public long getCallId()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.