public class LocalViewReplicationTransactionEventHandler extends SpaceReplicationTransactionEventHandler
Constructor and Description |
---|
LocalViewReplicationTransactionEventHandler(SpaceEngine engine,
AbstractReplicationEntryEventHandler entryHandler) |
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
|
changeEntry, removeEntry, removeEntryByUID, updateEntry, writeEntry
public LocalViewReplicationTransactionEventHandler(SpaceEngine engine, AbstractReplicationEntryEventHandler entryHandler)
public void inTransaction(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransaction
in interface IReplicationInTransactionHandler
inTransaction
in class SpaceReplicationTransactionEventHandler
Exception
public void inTransactionPrepare(IReplicationInContext context, ITransactionInContext transactionContext)
IReplicationInTransactionHandler
inTransactionPrepare
in interface IReplicationInTransactionHandler
inTransactionPrepare
in class SpaceReplicationTransactionEventHandler
public void inTransactionCommit(IReplicationInContext context, ITransactionInContext transactionContext)
IReplicationInTransactionHandler
inTransactionCommit
in interface IReplicationInTransactionHandler
inTransactionCommit
in class SpaceReplicationTransactionEventHandler
public void inTransactionAbort(IReplicationInContext context, ITransactionInContext transactionContext)
IReplicationInTransactionHandler
inTransactionAbort
in interface IReplicationInTransactionHandler
inTransactionAbort
in class SpaceReplicationTransactionEventHandler
Copyright © GigaSpaces.