public class NormalResponse extends Response
| Constructor and Description |
|---|
NormalResponse() |
NormalResponse(Object value,
long callId,
int backupAcks,
boolean urgent) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBackupAcks()
Returns the number of backups that needs to acknowledge before the invocation completes.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getValue()
Returns the object value of the operation.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getCallId, getFactoryId, isUrgentpublic NormalResponse()
public NormalResponse(Object value, long callId, int backupAcks, boolean urgent)
public Object getValue()
public int getBackupAcks()
public int getId()
IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class Responseout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class Responsein - inputIOExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.