public interface com.mongodb.client.ClientSession extends com.mongodb.session.ClientSession
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.mongodb.client.ClientSession
super_class: java.lang.Object
{
public abstract com.mongodb.ServerAddress getPinnedServerAddress();
descriptor: ()Lcom/mongodb/ServerAddress;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public abstract void setPinnedServerAddress(com.mongodb.ServerAddress);
descriptor: (Lcom/mongodb/ServerAddress;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
address
public abstract boolean hasActiveTransaction();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean notifyMessageSent();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.TransactionOptions getTransactionOptions();
descriptor: ()Lcom/mongodb/TransactionOptions;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void startTransaction();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void startTransaction(com.mongodb.TransactionOptions);
descriptor: (Lcom/mongodb/TransactionOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
transactionOptions
public abstract void commitTransaction();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void abortTransaction();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract <T> T withTransaction(com.mongodb.client.TransactionBody<T>);
descriptor: (Lcom/mongodb/client/TransactionBody;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/client/TransactionBody<TT;>;)TT;
MethodParameters:
Name Flags
transactionBody
public abstract <T> T withTransaction(com.mongodb.client.TransactionBody<T>, com.mongodb.TransactionOptions);
descriptor: (Lcom/mongodb/client/TransactionBody;Lcom/mongodb/TransactionOptions;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/client/TransactionBody<TT;>;Lcom/mongodb/TransactionOptions;)TT;
MethodParameters:
Name Flags
transactionBody
options
}
SourceFile: "ClientSession.java"