com.hazelcast.replicatedmap.impl.operation
Class ReplicatedMapPostJoinOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.replicatedmap.impl.operation.AbstractReplicatedMapOperation
          extended by 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


Nested Class Summary
static class ReplicatedMapPostJoinOperation.MemberMapPair
          A mapping for replicated map names and the assigned provisioning member
 
Field Summary
static int DEFAULT_CHUNK_SIZE
          Default size for replication chunks
 
Constructor Summary
ReplicatedMapPostJoinOperation(ReplicatedMapPostJoinOperation.MemberMapPair[] replicatedMaps, int chunkSize)
           
 
Method Summary
 int getFactoryId()
          Returns DataSerializableFactory factory id for this class.
 int getId()
          Returns type identifier for this class.
protected  void readInternal(ObjectDataInput in)
           
 void run()
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.replicatedmap.impl.operation.AbstractReplicatedMapOperation
afterRun, beforeRun, getResponse, getServiceName, returnsResponse
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 

Field Detail

DEFAULT_CHUNK_SIZE

public static final int DEFAULT_CHUNK_SIZE
Default size for replication chunks

See Also:
Constant Field Values
Constructor Detail

ReplicatedMapPostJoinOperation

public ReplicatedMapPostJoinOperation(ReplicatedMapPostJoinOperation.MemberMapPair[] replicatedMaps,
                                      int chunkSize)
Method Detail

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.