Class TxnsUtils
java.lang.Object
org.restheart.mongodb.db.sessions.TxnsUtils
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TxngetTxnServerStatus(UUID sid, Optional<RSOps> rsOps) Warn: requires two round trips to serverstatic voidWarn: requires a round trip to the server
-
Constructor Details
-
TxnsUtils
public TxnsUtils()
-
-
Method Details
-
getTxnServerStatus
Warn: requires two round trips to server- Parameters:
sid-- Returns:
- the txn status from server
-
propagateSession
Warn: requires a round trip to the server- Parameters:
cs-- Throws:
com.mongodb.MongoQueryException
-