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, isUrgent
public NormalResponse()
public NormalResponse(Object value, long callId, int backupAcks, boolean urgent)
public Object getValue()
public int getBackupAcks()
public int getId()
IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Response
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Response
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.