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 - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.