public class com.mongodb.connection.ServerDescription
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.connection.ServerDescription
super_class: java.lang.Object
{
public static final java.lang.String MIN_DRIVER_SERVER_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "2.6"
public static final int MIN_DRIVER_WIRE_VERSION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MAX_DRIVER_WIRE_VERSION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int DEFAULT_MAX_DOCUMENT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16777216
private final com.mongodb.ServerAddress address;
descriptor: Lcom/mongodb/ServerAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerType type;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String canonicalAddress;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.String> hosts;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> passives;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> arbiters;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.lang.String primary;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxDocumentSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.TagSet tagSet;
descriptor: Lcom/mongodb/TagSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String setName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long roundTripTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ok;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerConnectionState state;
descriptor: Lcom/mongodb/connection/ServerConnectionState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerVersion version;
descriptor: Lcom/mongodb/connection/ServerVersion;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int minWireVersion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxWireVersion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.types.ObjectId electionId;
descriptor: Lorg/bson/types/ObjectId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer setVersion;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Date lastWriteDate;
descriptor: Ljava/util/Date;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long lastUpdateTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer logicalSessionTimeoutMinutes;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Throwable exception;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static com.mongodb.connection.ServerDescription$Builder builder();
descriptor: ()Lcom/mongodb/connection/ServerDescription$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.mongodb.connection.ServerDescription$Builder
dup
invokespecial com.mongodb.connection.ServerDescription$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String getCanonicalAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public java.lang.Integer getLogicalSessionTimeoutMinutes();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isCompatibleWithDriver();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.connection.ServerDescription.isIncompatiblyOlderThanDriver:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.connection.ServerDescription.isIncompatiblyNewerThanDriver:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isIncompatiblyNewerThanDriver();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
bipush 8
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isIncompatiblyOlderThanDriver();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
iconst_2
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ServerDescription;
public static int getDefaultMaxDocumentSize();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc 16777216
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int getDefaultMinWireVersion();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int getDefaultMaxWireVersion();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.ServerAddress getAddress();
descriptor: ()Lcom/mongodb/ServerAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isReplicaSetMember();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
invokevirtual com.mongodb.connection.ServerType.getClusterType:()Lcom/mongodb/connection/ClusterType;
getstatic com.mongodb.connection.ClusterType.REPLICA_SET:Lcom/mongodb/connection/ClusterType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isShardRouter();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isStandAlone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isPrimary();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifeq 2
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.REPLICA_SET_PRIMARY:Lcom/mongodb/connection/ServerType;
if_acmpeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
if_acmpeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
if_acmpne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isSecondary();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifeq 2
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.REPLICA_SET_SECONDARY:Lcom/mongodb/connection/ServerType;
if_acmpeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
if_acmpeq 1
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
if_acmpne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/ServerDescription;
public java.util.Set<java.lang.String> getHosts();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getPassives();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getArbiters();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String getPrimary();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public int getMaxDocumentSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public com.mongodb.TagSet getTagSet();
descriptor: ()Lcom/mongodb/TagSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public int getMinWireVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public int getMaxWireVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public org.bson.types.ObjectId getElectionId();
descriptor: ()Lorg/bson/types/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public java.lang.Integer getSetVersion();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public java.util.Date getLastWriteDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public long getLastUpdateTime(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public boolean hasTags(com.mongodb.TagSet);
descriptor: (Lcom/mongodb/TagSet;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
if_acmpeq 3
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
if_acmpne 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
aload 1
invokevirtual com.mongodb.TagSet.containsAll:(Lcom/mongodb/TagSet;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/ServerDescription;
0 5 1 desiredTags Lcom/mongodb/TagSet;
MethodParameters:
Name Flags
desiredTags final
public java.lang.String getSetName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public boolean isOk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public com.mongodb.connection.ServerConnectionState getState();
descriptor: ()Lcom/mongodb/connection/ServerConnectionState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public com.mongodb.connection.ServerType getType();
descriptor: ()Lcom/mongodb/connection/ServerType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public com.mongodb.connection.ClusterType getClusterType();
descriptor: ()Lcom/mongodb/connection/ClusterType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
invokevirtual com.mongodb.connection.ServerType.getClusterType:()Lcom/mongodb/connection/ClusterType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public com.mongodb.connection.ServerVersion getVersion();
descriptor: ()Lcom/mongodb/connection/ServerVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public long getRoundTripTimeNanos();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.roundTripTimeNanos:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public java.lang.Throwable getException();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.connection.ServerDescription
astore 2
start local 2 5: aload 0
getfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
aload 2
getfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
aload 2
getfield com.mongodb.connection.ServerDescription.ok:Z
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
aload 2
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.equals:(Ljava/lang/Object;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
aload 2
getfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
ifnull 14
aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
aload 2
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 15
StackMap locals:
StackMap stack:
14: aload 2
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
ifnull 16
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
aload 2
getfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
aload 2
getfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
ifnull 21
aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
aload 2
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
goto 22
StackMap locals:
StackMap stack:
21: aload 2
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
ifnull 23
22: StackMap locals:
StackMap stack:
iconst_0
ireturn
23: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
ifnull 24
aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
aload 2
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
goto 25
StackMap locals:
StackMap stack:
24: aload 2
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
ifnull 26
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
26: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
aload 2
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
if_acmpeq 28
27: iconst_0
ireturn
28: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
aload 2
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
invokevirtual com.mongodb.TagSet.equals:(Ljava/lang/Object;)Z
ifne 30
29: iconst_0
ireturn
30: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
aload 2
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
if_acmpeq 32
31: iconst_0
ireturn
32: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
aload 2
getfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
invokevirtual com.mongodb.connection.ServerVersion.equals:(Ljava/lang/Object;)Z
ifne 34
33: iconst_0
ireturn
34: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
aload 2
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
if_icmpeq 36
35: iconst_0
ireturn
36: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
aload 2
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
if_icmpeq 38
37: iconst_0
ireturn
38: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
ifnull 39
aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
aload 2
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
invokevirtual org.bson.types.ObjectId.equals:(Ljava/lang/Object;)Z
ifne 41
goto 40
StackMap locals:
StackMap stack:
39: aload 2
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
ifnull 41
40: StackMap locals:
StackMap stack:
iconst_0
ireturn
41: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
ifnull 42
aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
aload 2
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 44
goto 43
StackMap locals:
StackMap stack:
42: aload 2
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
ifnull 44
43: StackMap locals:
StackMap stack:
iconst_0
ireturn
44: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
ifnull 45
aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
aload 2
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
invokevirtual java.util.Date.equals:(Ljava/lang/Object;)Z
ifne 47
goto 46
StackMap locals:
StackMap stack:
45: aload 2
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
ifnull 47
46: StackMap locals:
StackMap stack:
iconst_0
ireturn
47: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
aload 2
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
lcmp
ifeq 49
48: iconst_0
ireturn
49: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
ifnull 51
50: aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
aload 2
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 53
goto 52
51: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
ifnull 53
52: StackMap locals:
StackMap stack:
iconst_0
ireturn
53: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnull 54
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 55
StackMap locals:
StackMap stack:
54: aconst_null
StackMap locals:
StackMap stack: java.lang.Class
55: astore 3
start local 3 56: aload 2
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnull 57
aload 2
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 58
StackMap locals: java.lang.Class
StackMap stack:
57: aconst_null
StackMap locals:
StackMap stack: java.lang.Class
58: astore 4
start local 4 59: aload 3
ifnull 60
aload 3
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 62
goto 61
StackMap locals: java.lang.Class
StackMap stack:
60: aload 4
ifnull 62
61: StackMap locals:
StackMap stack:
iconst_0
ireturn
62: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnull 63
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
goto 64
StackMap locals:
StackMap stack:
63: aconst_null
StackMap locals:
StackMap stack: java.lang.String
64: astore 5
start local 5 65: aload 2
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnull 66
aload 2
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
goto 67
StackMap locals: java.lang.String
StackMap stack:
66: aconst_null
StackMap locals:
StackMap stack: java.lang.String
67: astore 6
start local 6 68: aload 5
ifnull 69
aload 5
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 71
goto 70
StackMap locals: java.lang.String
StackMap stack:
69: aload 6
ifnull 71
70: StackMap locals:
StackMap stack:
iconst_0
ireturn
71: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Lcom/mongodb/connection/ServerDescription;
0 72 1 o Ljava/lang/Object;
5 72 2 that Lcom/mongodb/connection/ServerDescription;
56 72 3 thisExceptionClass Ljava/lang/Class<*>;
59 72 4 thatExceptionClass Ljava/lang/Class<*>;
65 72 5 thisExceptionMessage Ljava/lang/String;
68 72 6 thatExceptionMessage Ljava/lang/String;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
invokevirtual com.mongodb.connection.ServerType.hashCode:()I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
ifnull 3
aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 4
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int
3: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
4: iadd
istore 1
5: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
iadd
istore 1
6: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
iadd
istore 1
7: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
iadd
istore 1
8: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
ifnull 9
aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 10
StackMap locals:
StackMap stack: int
9: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
10: iadd
istore 1
11: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
iadd
istore 1
12: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
invokevirtual com.mongodb.TagSet.hashCode:()I
iadd
istore 1
13: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
ifnull 14
aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 15
StackMap locals:
StackMap stack: int
14: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
15: iadd
istore 1
16: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
ifnull 17
aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
invokevirtual org.bson.types.ObjectId.hashCode:()I
goto 18
StackMap locals:
StackMap stack: int
17: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
18: iadd
istore 1
19: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
ifnull 20
aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 21
StackMap locals:
StackMap stack: int
20: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
21: iadd
istore 1
22: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
ifnull 23
aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
invokevirtual java.util.Date.hashCode:()I
goto 24
StackMap locals:
StackMap stack: int
23: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
24: iadd
istore 1
25: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
aload 0
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
bipush 32
lushr
lxor
l2i
iadd
istore 1
26: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
ifeq 27
iconst_1
goto 28
StackMap locals:
StackMap stack: int
27: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
28: iadd
istore 1
29: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
invokevirtual com.mongodb.connection.ServerConnectionState.hashCode:()I
iadd
istore 1
30: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
invokevirtual com.mongodb.connection.ServerVersion.hashCode:()I
iadd
istore 1
31: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
iadd
istore 1
32: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
iadd
istore 1
33: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
ifnull 34
aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 35
StackMap locals:
StackMap stack: int
34: iconst_0
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
35: iadd
istore 1
36: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnonnull 37
iconst_0
goto 38
StackMap locals:
StackMap stack: int
37: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
38: iadd
istore 1
39: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnonnull 40
iconst_0
goto 41
StackMap locals:
StackMap stack: int
40: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: com.mongodb.connection.ServerDescription int
StackMap stack: int int
41: iadd
istore 1
42: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/mongodb/connection/ServerDescription;
1 43 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ServerDescription{address="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", state="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
getstatic com.mongodb.connection.ServerConnectionState.CONNECTED:Lcom/mongodb/connection/ServerConnectionState;
if_acmpne 14
5: new java.lang.StringBuilder
dup
ldc ", ok="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.connection.ServerDescription.ok:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
6: ldc ", version="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ", minWireVersion="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.minWireVersion:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
8: ldc ", maxWireVersion="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.maxWireVersion:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: ldc ", maxDocumentSize="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: ldc ", logicalSessionTimeoutMinutes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc ", roundTripTimeNanos="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.roundTripTimeNanos:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: goto 15
14: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc ""
15: StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
invokevirtual com.mongodb.connection.ServerDescription.isReplicaSetMember:()Z
ifeq 30
17: new java.lang.StringBuilder
dup
ldc ", setName='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
18: ldc ", canonicalAddress="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: ldc ", hosts="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
20: ldc ", passives="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
21: ldc ", arbiters="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: ldc ", primary='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
23: ldc ", tagSet="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
24: ldc ", electionId="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
25: ldc ", setVersion="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
26: ldc ", lastWriteDate="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
27: ldc ", lastUpdateTimeNanos="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
28: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: goto 31
30: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc ""
31: StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnonnull 33
ldc ""
goto 34
StackMap locals:
StackMap stack: java.lang.StringBuilder
33: new java.lang.StringBuilder
dup
ldc ", exception="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.mongodb.connection.ServerDescription.translateExceptionToString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
34: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lcom/mongodb/connection/ServerDescription;
public java.lang.String getShortDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "{address="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
invokevirtual com.mongodb.TagSet.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
ldc ""
goto 5
StackMap locals:
StackMap stack: java.lang.StringBuilder
4: new java.lang.StringBuilder
dup
ldc ", "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
getstatic com.mongodb.connection.ServerConnectionState.CONNECTED:Lcom/mongodb/connection/ServerConnectionState;
if_acmpne 7
new java.lang.StringBuilder
dup
ldc ", roundTripTime="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.mongodb.connection.ServerDescription.getRoundTripFormattedInMilliseconds:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack: java.lang.StringBuilder
7: ldc ""
StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
8: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ", state="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
ifnonnull 11
ldc ""
goto 12
StackMap locals:
StackMap stack: java.lang.StringBuilder
11: new java.lang.StringBuilder
dup
ldc ", exception="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.mongodb.connection.ServerDescription.translateExceptionToString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.mongodb.connection.ServerDescription
StackMap stack: java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/mongodb/connection/ServerDescription;
private java.lang.String translateExceptionToString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 5: goto 11
6: StackMap locals: java.lang.StringBuilder java.lang.Throwable
StackMap stack:
aload 1
ldc ", caused by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/connection/ServerDescription;
1 13 1 builder Ljava/lang/StringBuilder;
5 13 2 cur Ljava/lang/Throwable;
private java.lang.String getRoundTripFormattedInMilliseconds();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "#0.0"
aload 0
getfield com.mongodb.connection.ServerDescription.roundTripTimeNanos:J
l2d
ldc 1000.0
ddiv
ldc 1000.0
ddiv
invokestatic com.mongodb.internal.connection.DecimalFormatHelper.format:(Ljava/lang/String;D)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerDescription;
void <init>(com.mongodb.connection.ServerDescription$Builder);
descriptor: (Lcom/mongodb/connection/ServerDescription$Builder;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "address"
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.address:Lcom/mongodb/ServerAddress;
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.ServerAddress
putfield com.mongodb.connection.ServerDescription.address:Lcom/mongodb/ServerAddress;
2: aload 0
ldc "type"
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.type:Lcom/mongodb/connection/ServerType;
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerType
putfield com.mongodb.connection.ServerDescription.type:Lcom/mongodb/connection/ServerType;
3: aload 0
ldc "state"
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.state:Lcom/mongodb/connection/ServerConnectionState;
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerConnectionState
putfield com.mongodb.connection.ServerDescription.state:Lcom/mongodb/connection/ServerConnectionState;
4: aload 0
ldc "version"
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.version:Lcom/mongodb/connection/ServerVersion;
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerVersion
putfield com.mongodb.connection.ServerDescription.version:Lcom/mongodb/connection/ServerVersion;
5: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.canonicalAddress:Ljava/lang/String;
putfield com.mongodb.connection.ServerDescription.canonicalAddress:Ljava/lang/String;
6: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.hosts:Ljava/util/Set;
putfield com.mongodb.connection.ServerDescription.hosts:Ljava/util/Set;
7: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.passives:Ljava/util/Set;
putfield com.mongodb.connection.ServerDescription.passives:Ljava/util/Set;
8: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.arbiters:Ljava/util/Set;
putfield com.mongodb.connection.ServerDescription.arbiters:Ljava/util/Set;
9: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.primary:Ljava/lang/String;
putfield com.mongodb.connection.ServerDescription.primary:Ljava/lang/String;
10: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.maxDocumentSize:I
putfield com.mongodb.connection.ServerDescription.maxDocumentSize:I
11: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.tagSet:Lcom/mongodb/TagSet;
putfield com.mongodb.connection.ServerDescription.tagSet:Lcom/mongodb/TagSet;
12: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.setName:Ljava/lang/String;
putfield com.mongodb.connection.ServerDescription.setName:Ljava/lang/String;
13: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.roundTripTimeNanos:J
putfield com.mongodb.connection.ServerDescription.roundTripTimeNanos:J
14: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.ok:Z
putfield com.mongodb.connection.ServerDescription.ok:Z
15: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.minWireVersion:I
putfield com.mongodb.connection.ServerDescription.minWireVersion:I
16: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.maxWireVersion:I
putfield com.mongodb.connection.ServerDescription.maxWireVersion:I
17: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.electionId:Lorg/bson/types/ObjectId;
putfield com.mongodb.connection.ServerDescription.electionId:Lorg/bson/types/ObjectId;
18: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.setVersion:Ljava/lang/Integer;
putfield com.mongodb.connection.ServerDescription.setVersion:Ljava/lang/Integer;
19: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.lastWriteDate:Ljava/util/Date;
putfield com.mongodb.connection.ServerDescription.lastWriteDate:Ljava/util/Date;
20: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.lastUpdateTimeNanos:J
putfield com.mongodb.connection.ServerDescription.lastUpdateTimeNanos:J
21: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
putfield com.mongodb.connection.ServerDescription.logicalSessionTimeoutMinutes:Ljava/lang/Integer;
22: aload 0
aload 1
getfield com.mongodb.connection.ServerDescription$Builder.exception:Ljava/lang/Throwable;
putfield com.mongodb.connection.ServerDescription.exception:Ljava/lang/Throwable;
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/mongodb/connection/ServerDescription;
0 24 1 builder Lcom/mongodb/connection/ServerDescription$Builder;
MethodParameters:
Name Flags
builder final
}
SourceFile: "ServerDescription.java"
NestMembers:
com.mongodb.connection.ServerDescription$Builder
InnerClasses:
public Builder = com.mongodb.connection.ServerDescription$Builder of com.mongodb.connection.ServerDescription
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()