Class TxnClientSessionFactory
java.lang.Object
org.restheart.mongodb.db.sessions.ClientSessionFactory
org.restheart.mongodb.db.sessions.TxnClientSessionFactory
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.mongodb.db.sessions.ClientSessionFactory
mClient -
Method Summary
Modifier and TypeMethodDescriptiongetClientSession(io.undertow.server.HttpServerExchange exchange)static TxnClientSessionFactorygetTxnClientSession(UUID sid)Warn: requires a round trip to the servergetTxnClientSession(UUID sid, Txn txnServerStatus)Methods inherited from class org.restheart.mongodb.db.sessions.ClientSessionFactory
createServerSession, getClientSession
-
Method Details
-
getInstance
-
getClientSession
public ClientSessionImpl getClientSession(io.undertow.server.HttpServerExchange exchange) throws IllegalArgumentException- Overrides:
getClientSessionin classClientSessionFactory- Parameters:
exchange-- Returns:
- Throws:
IllegalArgumentException
-
getTxnClientSession
Warn: requires a round trip to the server- Parameters:
sid-- Returns:
-
getTxnClientSession
- Parameters:
sid-txnServerStatus-- Returns:
-