public abstract class AbstractReplicationEntryEventHandler extends Object implements IReplicationInEntryHandler
Constructor and Description |
---|
AbstractReplicationEntryEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
afterConsumption(IReplicationInContext context,
boolean successful,
long lastProcessedKey) |
void |
beforeConsume(IReplicationInContext context) |
abstract void |
changeEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
String typeName,
String uid,
Object id,
int routingHash,
int version,
int previousVersion,
long timeToLive,
Collection<SpaceEntryMutator> mutators,
boolean isTransient,
OperationID operationID,
IEntryData previousEntryData) |
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 entry) |
void |
inRemoveEntryByUID(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
OperationID operationID) |
void |
inUpdateEntry(IReplicationInContext context,
IEntryPacket entry,
IEntryPacket oldEntryPacket,
boolean partialUpdate,
boolean overrideVersion,
short flags) |
void |
inWriteEntry(IReplicationInContext context,
IEntryPacket entry) |
abstract void |
removeEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry) |
abstract void |
removeEntryByUid(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
String uid,
boolean isTransient,
OperationID operationID,
String typeName) |
abstract void |
updateEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry,
IEntryPacket previousPacket,
boolean partialUpdate,
boolean overrideVersion) |
abstract void |
writeEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry) |
public AbstractReplicationEntryEventHandler()
public void inWriteEntry(IReplicationInContext context, IEntryPacket entry) throws Exception
inWriteEntry
in interface IReplicationInEntryHandler
Exception
public void inUpdateEntry(IReplicationInContext context, IEntryPacket entry, IEntryPacket oldEntryPacket, boolean partialUpdate, boolean overrideVersion, short flags) throws Exception
inUpdateEntry
in interface IReplicationInEntryHandler
Exception
public void inRemoveEntry(IReplicationInContext context, IEntryPacket entry) 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 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 afterConsumption(IReplicationInContext context, boolean successful, long lastProcessedKey)
afterConsumption
in interface IReplicationInEntryHandler
public void beforeConsume(IReplicationInContext context)
beforeConsume
in interface IReplicationInEntryHandler
public abstract void writeEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry) throws Exception
Exception
public abstract void updateEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry, IEntryPacket previousPacket, boolean partialUpdate, boolean overrideVersion) throws Exception
Exception
public abstract void removeEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry) throws Exception
Exception
public abstract void removeEntryByUid(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, String uid, boolean isTransient, OperationID operationID, String typeName) throws Exception
Exception
public abstract void changeEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, String typeName, String uid, Object id, int routingHash, int version, int previousVersion, long timeToLive, Collection<SpaceEntryMutator> mutators, boolean isTransient, OperationID operationID, IEntryData previousEntryData) throws Exception
Exception
Copyright © GigaSpaces.