Class TransactionManagerServer
- java.lang.Object
-
- cz.o2.proxima.direct.transaction.manager.TransactionManagerServer
-
@Experimental("The manager is currently experimental and not intended for production usage.") public class TransactionManagerServer extends java.lang.Object
A transaction manager that takes aRepository
with configured transactional entities and attributes and runs (possibly distributed) transaction manager.The manager's responsibility is to keep track of transaction state, process transactional requests, notify requesters about the result using responses and keep track of the transactional state.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static TransactionManagerServer
of(ConfigRepository repo)
static TransactionManagerServer
of(cz.o2.proxima.typesafe.config.Config conf)
void
run()
void
stop(boolean graceful)
-
-
-
Method Detail
-
of
public static TransactionManagerServer of(cz.o2.proxima.typesafe.config.Config conf)
-
of
public static TransactionManagerServer of(ConfigRepository repo)
-
main
public static void main(java.lang.String[] args)
-
run
public void run()
-
stop
public void stop(boolean graceful)
-
-