Class TransactionLogObserverFactory.Default
- java.lang.Object
-
- cz.o2.proxima.direct.transaction.manager.TransactionLogObserverFactory.Default
-
- All Implemented Interfaces:
TransactionLogObserverFactory
- Enclosing interface:
- TransactionLogObserverFactory
public static class TransactionLogObserverFactory.Default extends java.lang.Object implements TransactionLogObserverFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.transaction.manager.TransactionLogObserverFactory
TransactionLogObserverFactory.Default, TransactionLogObserverFactory.WithOnErrorHandler
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionLogObserver
create(DirectDataOperator direct, Metrics metrics)
A factory forCommitLogObserver
responsible for transaction management.
-
-
-
Method Detail
-
create
public TransactionLogObserver create(DirectDataOperator direct, Metrics metrics)
Description copied from interface:TransactionLogObserverFactory
A factory forCommitLogObserver
responsible for transaction management.- Specified by:
create
in interfaceTransactionLogObserverFactory
- Parameters:
direct
- the direct operator for the observermetrics
- the metrics to use for reporting- Returns:
- the
CommitLogObserver
-
-