public class ActiveActiveSpaceReplicationEntryEventHandler extends AbstractSpaceReplicationEntryEventHandler
_engine, _exceptionHandler
Constructor and Description |
---|
ActiveActiveSpaceReplicationEntryEventHandler(SpaceEngine engine,
boolean isCentralAndExternalDB) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldChangeEntryInSpace(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
String typeName,
String uid,
boolean isTransient,
int version) |
protected boolean |
shouldEvictEntryFromSpace(boolean isTransient) |
protected boolean |
shouldRemoveEntryFromSpace(boolean isTransient) |
protected boolean |
shouldUpdateEntryInSpace(IReplicationInContext context,
Transaction txn,
boolean twoPhaseCommit,
IEntryPacket entry) |
protected ExtendedAnswerHolder |
updateOrWrite(IReplicationInContext context,
Transaction transaction,
IEntryPacket entryPacket,
long lease,
int updateModifiers) |
changeEntry, changeEntryInSpace, executeUpdateOperation, getConflictingOperationPolicy, ignoreOperation, inEvictEntry, postChangeExecution, postRemoveExecution, postUpdateExecution, removeEntry, removeEntryByUid, removeEntryFromSpace, updateEntry, updateEntryInSpace, writeEntry, writeEntryIntoSpace
afterConsumption, beforeConsume, inChangeEntry, inRemoveEntry, inRemoveEntryByUID, inUpdateEntry, inWriteEntry
public ActiveActiveSpaceReplicationEntryEventHandler(SpaceEngine engine, boolean isCentralAndExternalDB)
protected ExtendedAnswerHolder updateOrWrite(IReplicationInContext context, Transaction transaction, IEntryPacket entryPacket, long lease, int updateModifiers) throws TransactionException, UnusableEntryException, UnknownTypeException, RemoteException, InterruptedException
protected boolean shouldUpdateEntryInSpace(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, IEntryPacket entry) throws Exception
shouldUpdateEntryInSpace
in class AbstractSpaceReplicationEntryEventHandler
Exception
protected boolean shouldChangeEntryInSpace(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, String typeName, String uid, boolean isTransient, int version) throws Exception
shouldChangeEntryInSpace
in class AbstractSpaceReplicationEntryEventHandler
Exception
protected boolean shouldRemoveEntryFromSpace(boolean isTransient)
shouldRemoveEntryFromSpace
in class AbstractSpaceReplicationEntryEventHandler
protected boolean shouldEvictEntryFromSpace(boolean isTransient)
shouldEvictEntryFromSpace
in class AbstractSpaceReplicationEntryEventHandler
Copyright © GigaSpaces.