public class MirrorReplicationInEntryHandler extends MirrorReplicationInHandler implements IReplicationInEntryHandler
_syncEndpoint
Constructor and Description |
---|
MirrorReplicationInEntryHandler(MirrorBulkExecutor bulkExecutor,
MirrorStatisticsImpl operationStatisticsHandler) |
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) |
addChangeEntry, addRemoveEntry, addTransaction, addUpdateEntry, addWriteEntry, changeEntry, execute, getTypeManager, removeEntry, removeEntryByUID, updateEntry, writeEntry
public MirrorReplicationInEntryHandler(MirrorBulkExecutor bulkExecutor, MirrorStatisticsImpl operationStatisticsHandler)
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 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
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
Copyright © GigaSpaces.