public class LocalViewReplicationEntryEventHandler extends AbstractReplicationEntryEventHandler
Constructor and Description |
---|
LocalViewReplicationEntryEventHandler(SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
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 previousEntry) |
void |
removeEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry) |
void |
removeEntryByUid(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
String uid,
boolean isTransient,
OperationID operationID,
String typeName) |
void |
updateEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry,
IEntryPacket previousPacket,
boolean partialUpdate,
boolean overrideVersion) |
void |
writeEntry(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry) |
afterConsumption, beforeConsume, inChangeEntry, inRemoveEntry, inRemoveEntryByUID, inUpdateEntry, inWriteEntry
public LocalViewReplicationEntryEventHandler(SpaceEngine engine)
public void writeEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry) throws Exception
writeEntry
in class AbstractReplicationEntryEventHandler
Exception
public void updateEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry, IEntryPacket previousPacket, boolean partialUpdate, boolean overrideVersion) throws Exception
updateEntry
in class AbstractReplicationEntryEventHandler
Exception
public void removeEntry(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry) throws Exception
removeEntry
in class AbstractReplicationEntryEventHandler
Exception
public void removeEntryByUid(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, String uid, boolean isTransient, OperationID operationID, String typeName) throws Exception
removeEntryByUid
in class AbstractReplicationEntryEventHandler
Exception
public 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 previousEntry) throws Exception
changeEntry
in class AbstractReplicationEntryEventHandler
Exception
Copyright © GigaSpaces.