public class NormalResponse extends Response
Constructor and Description |
---|
NormalResponse() |
NormalResponse(Object value,
long callId,
int backupCount,
boolean urgent) |
Modifier and Type | Method and Description |
---|---|
int |
getBackupCount()
Returns the number of synchronous backups for the operation.
|
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 backupCount, boolean urgent)
public Object getValue()
public int getBackupCount()
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.