com.hazelcast.replicatedmap.impl.operation
Class ReplicatedMapPostJoinOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.replicatedmap.impl.operation.AbstractReplicatedMapOperation
com.hazelcast.replicatedmap.impl.operation.ReplicatedMapPostJoinOperation
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable, RemotePropagatable<Operation>
public class ReplicatedMapPostJoinOperation
- extends AbstractReplicatedMapOperation
- implements IdentifiedDataSerializable
The replicated map post join operation to execute on remote nodes
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
DEFAULT_CHUNK_SIZE
public static final int DEFAULT_CHUNK_SIZE
- Default size for replication chunks
- See Also:
- Constant Field Values
ReplicatedMapPostJoinOperation
public ReplicatedMapPostJoinOperation(ReplicatedMapPostJoinOperation.MemberMapPair[] replicatedMaps,
int chunkSize)
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
getFactoryId
public int getFactoryId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns DataSerializableFactory factory id for this class.
- Specified by:
getFactoryId
in interface IdentifiedDataSerializable
- Returns:
- factory id
getId
public int getId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns type identifier for this class. Id should be unique per DataSerializableFactory.
- Specified by:
getId
in interface IdentifiedDataSerializable
- Returns:
- type id
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.