public class GetResultOperationFactory extends Object implements OperationFactory
GetResultOperation instances.
In difference to other implementations of OperationFactory this class
is never ever serialized and the DataSerializable methods readData(com.hazelcast.nio.ObjectDataInput)
and writeData(com.hazelcast.nio.ObjectDataOutput) throw UnsupportedOperationExceptions.| Constructor and Description |
|---|
GetResultOperationFactory()
This constructor should not be used to obtain an instance of this class; it exists to fulfill IdentifiedDataSerializable
coding conventions.
|
GetResultOperationFactory(String name,
String jobId) |
| 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 GetResultOperationFactory()
public Operation createOperation()
OperationFactorycreateOperation in interface OperationFactorypublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.