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, writeEntryIntoSpaceafterConsumption, beforeConsume, inChangeEntry, inRemoveEntry, inRemoveEntryByUID, inUpdateEntry, inWriteEntrypublic 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 AbstractSpaceReplicationEntryEventHandlerExceptionprotected boolean shouldChangeEntryInSpace(IReplicationInContext context, Transaction txn, boolean twoPhaseCommit, String typeName, String uid, boolean isTransient, int version) throws Exception
shouldChangeEntryInSpace in class AbstractSpaceReplicationEntryEventHandlerExceptionprotected boolean shouldRemoveEntryFromSpace(boolean isTransient)
shouldRemoveEntryFromSpace in class AbstractSpaceReplicationEntryEventHandlerprotected boolean shouldEvictEntryFromSpace(boolean isTransient)
shouldEvictEntryFromSpace in class AbstractSpaceReplicationEntryEventHandlerCopyright © GigaSpaces.