Package guru.mikelue.jdut
Class ConductorContext
- java.lang.Object
-
- guru.mikelue.jdut.ConductorContext
-
public final class ConductorContext extends Object
Used to be access by thread-local variable of current execution of conductor.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<Connection>
getCurrentConnection()
Gets current connection.
-
-
-
Method Detail
-
getCurrentConnection
public static Optional<Connection> getCurrentConnection()
Gets current connection.- Returns:
- current object of connection, my be empty
-
-