public class WanCacheMergeOperation
extends com.hazelcast.cache.impl.operation.MutatingCacheOperation
backupRecord, key, response| Constructor and Description |
|---|
WanCacheMergeOperation() |
WanCacheMergeOperation(String name,
String wanGroupName,
com.hazelcast.spi.merge.SplitBrainMergeTypes.CacheMergeTypes mergingEntry,
com.hazelcast.spi.merge.SplitBrainMergePolicy<com.hazelcast.nio.serialization.Data,com.hazelcast.spi.merge.SplitBrainMergeTypes.CacheMergeTypes> mergePolicy,
int completionId) |
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getFactoryId() |
int |
getId() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
getCompletionId, setCompletionIdafterRun, beforeRun, beforeRunInternal, dispose, getAsyncBackupCount, getServiceName, getServiceNamespace, getSyncBackupCount, logError, onInvocationException, publishWanRemove, publishWanUpdate, publishWanUpdate, publishWanUpdatecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onExecutionFailure, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic WanCacheMergeOperation()
public WanCacheMergeOperation(String name, String wanGroupName, com.hazelcast.spi.merge.SplitBrainMergeTypes.CacheMergeTypes mergingEntry, com.hazelcast.spi.merge.SplitBrainMergePolicy<com.hazelcast.nio.serialization.Data,com.hazelcast.spi.merge.SplitBrainMergeTypes.CacheMergeTypes> mergePolicy, int completionId)
public void run()
throws Exception
run in class com.hazelcast.spi.OperationExceptionpublic boolean shouldBackup()
public com.hazelcast.spi.Operation getBackupOperation()
protected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class com.hazelcast.cache.impl.operation.MutatingCacheOperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class com.hazelcast.cache.impl.operation.MutatingCacheOperationIOExceptionpublic int getId()
public int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablegetFactoryId in class com.hazelcast.cache.impl.operation.CacheOperationCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.