public class CacheClearOperationFactory extends Object implements OperationFactory, IdentifiedDataSerializable
OperationFactory
implementation for Clear Operations.
Clear operation will clear data without sending any events;OperationFactory
Constructor and Description |
---|
CacheClearOperationFactory() |
CacheClearOperationFactory(String name) |
Modifier and Type | Method and Description |
---|---|
Operation |
createOperation()
Creates the operation.
|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public CacheClearOperationFactory()
public CacheClearOperationFactory(String name)
public Operation createOperation()
OperationFactory
createOperation
in interface OperationFactory
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.