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 UnsupportedOperationException
s.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()
OperationFactory
createOperation
in interface OperationFactory
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
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.