public class CacheClearResponse extends Object implements IdentifiedDataSerializable, Serializable
CacheClearOperation.
The response returned or exception thrown is wrapped into a
single CacheClearResponse
so that multiple operations' result can be returned using a collection.| Constructor and Description |
|---|
CacheClearResponse() |
CacheClearResponse(Object response) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public CacheClearResponse()
public CacheClearResponse(Object response)
public Object getResponse()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId 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 © 2016 Hazelcast, Inc.. All Rights Reserved.