public abstract class com.mongodb.connection.ServerType extends java.lang.Enum<com.mongodb.connection.ServerType>
minor version: 0
major version: 59
flags: flags: (0x4421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT, ACC_ANNOTATION
this_class: com.mongodb.connection.ServerType
super_class: java.lang.Enum
{
public static final com.mongodb.connection.ServerType STANDALONE;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType REPLICA_SET_PRIMARY;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType REPLICA_SET_SECONDARY;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType REPLICA_SET_ARBITER;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType REPLICA_SET_OTHER;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType REPLICA_SET_GHOST;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType SHARD_ROUTER;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.connection.ServerType UNKNOWN;
descriptor: Lcom/mongodb/connection/ServerType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final com.mongodb.connection.ServerType[] ENUM$VALUES;
descriptor: [Lcom/mongodb/connection/ServerType;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.mongodb.connection.ServerType$1
dup
ldc "STANDALONE"
iconst_0
invokespecial com.mongodb.connection.ServerType$1.<init>:(Ljava/lang/String;I)V
1: putstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
2: new com.mongodb.connection.ServerType$2
dup
ldc "REPLICA_SET_PRIMARY"
iconst_1
invokespecial com.mongodb.connection.ServerType$2.<init>:(Ljava/lang/String;I)V
3: putstatic com.mongodb.connection.ServerType.REPLICA_SET_PRIMARY:Lcom/mongodb/connection/ServerType;
4: new com.mongodb.connection.ServerType$3
dup
ldc "REPLICA_SET_SECONDARY"
iconst_2
invokespecial com.mongodb.connection.ServerType$3.<init>:(Ljava/lang/String;I)V
5: putstatic com.mongodb.connection.ServerType.REPLICA_SET_SECONDARY:Lcom/mongodb/connection/ServerType;
6: new com.mongodb.connection.ServerType$4
dup
ldc "REPLICA_SET_ARBITER"
iconst_3
invokespecial com.mongodb.connection.ServerType$4.<init>:(Ljava/lang/String;I)V
7: putstatic com.mongodb.connection.ServerType.REPLICA_SET_ARBITER:Lcom/mongodb/connection/ServerType;
8: new com.mongodb.connection.ServerType$5
dup
ldc "REPLICA_SET_OTHER"
iconst_4
invokespecial com.mongodb.connection.ServerType$5.<init>:(Ljava/lang/String;I)V
9: putstatic com.mongodb.connection.ServerType.REPLICA_SET_OTHER:Lcom/mongodb/connection/ServerType;
10: new com.mongodb.connection.ServerType$6
dup
ldc "REPLICA_SET_GHOST"
iconst_5
invokespecial com.mongodb.connection.ServerType$6.<init>:(Ljava/lang/String;I)V
11: putstatic com.mongodb.connection.ServerType.REPLICA_SET_GHOST:Lcom/mongodb/connection/ServerType;
12: new com.mongodb.connection.ServerType$7
dup
ldc "SHARD_ROUTER"
bipush 6
invokespecial com.mongodb.connection.ServerType$7.<init>:(Ljava/lang/String;I)V
13: putstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
14: new com.mongodb.connection.ServerType$8
dup
ldc "UNKNOWN"
bipush 7
invokespecial com.mongodb.connection.ServerType$8.<init>:(Ljava/lang/String;I)V
15: putstatic com.mongodb.connection.ServerType.UNKNOWN:Lcom/mongodb/connection/ServerType;
16: bipush 8
anewarray com.mongodb.connection.ServerType
dup
iconst_0
getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
aastore
dup
iconst_1
getstatic com.mongodb.connection.ServerType.REPLICA_SET_PRIMARY:Lcom/mongodb/connection/ServerType;
aastore
dup
iconst_2
getstatic com.mongodb.connection.ServerType.REPLICA_SET_SECONDARY:Lcom/mongodb/connection/ServerType;
aastore
dup
iconst_3
getstatic com.mongodb.connection.ServerType.REPLICA_SET_ARBITER:Lcom/mongodb/connection/ServerType;
aastore
dup
iconst_4
getstatic com.mongodb.connection.ServerType.REPLICA_SET_OTHER:Lcom/mongodb/connection/ServerType;
aastore
dup
iconst_5
getstatic com.mongodb.connection.ServerType.REPLICA_SET_GHOST:Lcom/mongodb/connection/ServerType;
aastore
dup
bipush 6
getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
aastore
dup
bipush 7
getstatic com.mongodb.connection.ServerType.UNKNOWN:Lcom/mongodb/connection/ServerType;
aastore
putstatic com.mongodb.connection.ServerType.ENUM$VALUES:[Lcom/mongodb/connection/ServerType;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerType;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public abstract com.mongodb.connection.ClusterType getClusterType();
descriptor: ()Lcom/mongodb/connection/ClusterType;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static com.mongodb.connection.ServerType[] values();
descriptor: ()[Lcom/mongodb/connection/ServerType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic com.mongodb.connection.ServerType.ENUM$VALUES:[Lcom/mongodb/connection/ServerType;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray com.mongodb.connection.ServerType
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.connection.ServerType valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/connection/ServerType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lcom/mongodb/connection/ServerType;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast com.mongodb.connection.ServerType
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lcom/mongodb/connection/ServerType;>;
SourceFile: "ServerType.java"
NestMembers:
com.mongodb.connection.ServerType$1 com.mongodb.connection.ServerType$2 com.mongodb.connection.ServerType$3 com.mongodb.connection.ServerType$4 com.mongodb.connection.ServerType$5 com.mongodb.connection.ServerType$6 com.mongodb.connection.ServerType$7 com.mongodb.connection.ServerType$8
InnerClasses:
com.mongodb.connection.ServerType$1
com.mongodb.connection.ServerType$2
com.mongodb.connection.ServerType$3
com.mongodb.connection.ServerType$4
com.mongodb.connection.ServerType$5
com.mongodb.connection.ServerType$6
com.mongodb.connection.ServerType$7
com.mongodb.connection.ServerType$8