abstract class ClientSession[F[_]] extends AnyRef
- Alphabetic
- By Inheritance
- ClientSession
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ClientSession()
Abstract Value Members
-
abstract
def
abortTransaction: F[Unit]
Abort a transaction in the context of this session.
Abort a transaction in the context of this session. A transaction can only be aborted if one has first been started.
-
abstract
def
commitTransaction: F[Unit]
Commit a transaction in the context of this session.
Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.
-
abstract
def
startTransaction(options: TransactionOptions): F[Unit]
Start a transaction in the context of this session with the given transaction options.
Start a transaction in the context of this session with the given transaction options. A transaction can not be started if there is already an active transaction on this session.
- options
the options to apply to the transaction
- abstract def underlying: com.mongodb.reactivestreams.client.ClientSession
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hasActiveTransaction: Boolean
Returns true if there is an active transaction on this session, and false otherwise
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
isCausallyConsistent: Boolean
Returns true if operations in this session must be causally consistent
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
options: ClientSessionOptions
Get the options for this session.
- def startTransaction: F[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transactionOptions: Option[TransactionOptions]
Gets the transaction options.
Gets the transaction options. If session has no active transaction, then None is returned
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated