public class MirrorReplicationInTransactionHandler extends MirrorReplicationInHandler implements IReplicationInTransactionHandler
_syncEndpoint
Constructor and Description |
---|
MirrorReplicationInTransactionHandler(MirrorBulkExecutor bulkExecutor,
MirrorStatisticsImpl operationStatisticsHandler) |
Modifier and Type | Method and Description |
---|---|
void |
inTransaction(IReplicationInContext context,
ITransactionInContext transactionContext)
Handles one phase commit transaction (single participant)
|
void |
inTransactionAbort(IReplicationInContext context,
ITransactionInContext transactionContext)
Handle abort stage of two phase committed transaction
|
void |
inTransactionCommit(IReplicationInContext context,
ITransactionInContext transactionContext)
Handle commit stage of two phase committed transaction
|
void |
inTransactionPrepare(IReplicationInContext context,
ITransactionInContext transactionContext)
Handle prepare stage of two phase committed transaction
|
addChangeEntry, addRemoveEntry, addTransaction, addUpdateEntry, addWriteEntry, changeEntry, execute, getTypeManager, removeEntry, removeEntryByUID, updateEntry, writeEntry
public MirrorReplicationInTransactionHandler(MirrorBulkExecutor bulkExecutor, MirrorStatisticsImpl operationStatisticsHandler)
public void inTransaction(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransaction
in interface IReplicationInTransactionHandler
Exception
public void inTransactionPrepare(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionPrepare
in interface IReplicationInTransactionHandler
Exception
public void inTransactionCommit(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionCommit
in interface IReplicationInTransactionHandler
Exception
public void inTransactionAbort(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionAbort
in interface IReplicationInTransactionHandler
Exception
Copyright © GigaSpaces.