| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.spi.impl.Response
public abstract class Response
A 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.
 
| Field Summary | |
|---|---|
protected  long | 
callId
 | 
protected  boolean | 
urgent
 | 
| Constructor Summary | |
|---|---|
Response()
 | 
|
Response(long callId,
         boolean urgent)
 | 
|
| Method Summary | |
|---|---|
 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  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.hazelcast.nio.serialization.IdentifiedDataSerializable | 
|---|
getId | 
| Field Detail | 
|---|
protected long callId
protected boolean urgent
| Constructor Detail | 
|---|
public Response()
public Response(long callId,
                boolean urgent)
| Method Detail | 
|---|
public boolean isUrgent()
public long getCallId()
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out)
               throws IOException
DataSerializable
writeData in interface DataSerializableout - output
IOException
public void readData(ObjectDataInput in)
              throws IOException
DataSerializable
readData in interface DataSerializablein - input
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||