public class LocalClusterReplicationInEntryHandler extends AbstractLocalClusterReplicationInHandler implements IReplicationInEntryHandler
_config, _spaceProxy
Constructor and Description |
---|
LocalClusterReplicationInEntryHandler(ISpaceProxy spaceProxy,
ITransactionManagerProvider transactionManagerProvider,
LocalClusterReplicationSinkConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
afterConsumption(IReplicationInContext context,
boolean successful,
long lastProcessedKey) |
void |
beforeConsume(IReplicationInContext context) |
void |
inChangeEntry(IReplicationInContext context,
String typeName,
String uid,
Object id,
int version,
int previousVersion,
int routingHash,
long timeToLive,
Collection<SpaceEntryMutator> mutators,
boolean isTransient,
OperationID operationID) |
void |
inRemoveEntry(IReplicationInContext context,
IEntryPacket entryPacket) |
void |
inRemoveEntryByUID(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
OperationID operationID) |
void |
inUpdateEntry(IReplicationInContext context,
IEntryPacket entryPacket,
IEntryPacket oldEntryPacket,
boolean partialUpdate,
boolean overrideVersion,
short flags) |
void |
inWriteEntry(IReplicationInContext context,
IEntryPacket entryPacket) |
execute, executeIfUidPresent, executeTransactional, extractSourceGatewayName, getSpaceProxy, handleChangeEntry, handleRemoveEntry, handleRemoveEntryByUid, handleUpdateEntry, handleWriteEntry, invokeConflictResolver
public LocalClusterReplicationInEntryHandler(ISpaceProxy spaceProxy, ITransactionManagerProvider transactionManagerProvider, LocalClusterReplicationSinkConfig config)
public void inWriteEntry(IReplicationInContext context, IEntryPacket entryPacket) throws Exception
inWriteEntry
in interface IReplicationInEntryHandler
Exception
public void inUpdateEntry(IReplicationInContext context, IEntryPacket entryPacket, IEntryPacket oldEntryPacket, boolean partialUpdate, boolean overrideVersion, short flags) throws Exception
inUpdateEntry
in interface IReplicationInEntryHandler
Exception
public void inChangeEntry(IReplicationInContext context, String typeName, String uid, Object id, int version, int previousVersion, int routingHash, long timeToLive, Collection<SpaceEntryMutator> mutators, boolean isTransient, OperationID operationID) throws Exception
inChangeEntry
in interface IReplicationInEntryHandler
Exception
public void inRemoveEntry(IReplicationInContext context, IEntryPacket entryPacket) throws Exception
inRemoveEntry
in interface IReplicationInEntryHandler
Exception
public void inRemoveEntryByUID(IReplicationInContext context, String typeName, String uid, boolean isTransient, OperationID operationID) throws Exception
inRemoveEntryByUID
in interface IReplicationInEntryHandler
Exception
public void afterConsumption(IReplicationInContext context, boolean successful, long lastProcessedKey)
afterConsumption
in interface IReplicationInEntryHandler
public void beforeConsume(IReplicationInContext context)
beforeConsume
in interface IReplicationInEntryHandler
Copyright © GigaSpaces.