public class SizeOperationFactory extends AbstractMapOperationFactory
Constructor and Description |
---|
SizeOperationFactory() |
SizeOperationFactory(String name) |
Modifier and Type | Method and Description |
---|---|
Operation |
createOperation()
Creates the operation.
|
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
|
getFactoryId
public SizeOperationFactory()
public SizeOperationFactory(String name)
public Operation createOperation()
OperationFactory
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
out
- 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
DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public int getId()
IdentifiedDataSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.