|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.cache.impl.CacheClearResponse
public class CacheClearResponse
This class is a simple object wrapper to be used by 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 Summary | |
|---|---|
CacheClearResponse()
|
|
CacheClearResponse(Object response)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheClearResponse()
public CacheClearResponse(Object response)
| Method Detail |
|---|
public Object getResponse()
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializable
getId 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 | |||||||||