public interface com.mongodb.connection.Cluster extends java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.mongodb.connection.Cluster
super_class: java.lang.Object
{
public abstract com.mongodb.connection.ClusterSettings getSettings();
descriptor: ()Lcom/mongodb/connection/ClusterSettings;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.connection.ClusterDescription getDescription();
descriptor: ()Lcom/mongodb/connection/ClusterDescription;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.connection.ClusterDescription getCurrentDescription();
descriptor: ()Lcom/mongodb/connection/ClusterDescription;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.bson.BsonTimestamp getClusterTime();
descriptor: ()Lorg/bson/BsonTimestamp;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public abstract com.mongodb.connection.Server selectServer(com.mongodb.selector.ServerSelector);
descriptor: (Lcom/mongodb/selector/ServerSelector;)Lcom/mongodb/connection/Server;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
serverSelector
public abstract void selectServerAsync(com.mongodb.selector.ServerSelector, com.mongodb.async.SingleResultCallback<com.mongodb.connection.Server>);
descriptor: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/Server;>;)V
MethodParameters:
Name Flags
serverSelector
callback
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isClosed();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "Cluster.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()