public class com.mongodb.WriteConcern implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.WriteConcern
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1884671104750417011
private static final java.util.Map<java.lang.String, com.mongodb.WriteConcern> NAMED_CONCERNS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/mongodb/WriteConcern;>;
private final java.lang.Object w;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer wTimeoutMS;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Boolean fsync;
descriptor: Ljava/lang/Boolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Boolean journal;
descriptor: Ljava/lang/Boolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final com.mongodb.WriteConcern ACKNOWLEDGED;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern W1;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern W2;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern W3;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern UNACKNOWLEDGED;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern FSYNCED;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern JOURNALED;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern REPLICA_ACKNOWLEDGED;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern NORMAL;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern SAFE;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern MAJORITY;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.WriteConcern FSYNC_SAFE;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern JOURNAL_SAFE;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final com.mongodb.WriteConcern REPLICAS_SAFE;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=0
0: new com.mongodb.WriteConcern
dup
aconst_null
aconst_null
aconst_null
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
putstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
1: new com.mongodb.WriteConcern
dup
iconst_1
invokespecial com.mongodb.WriteConcern.<init>:(I)V
putstatic com.mongodb.WriteConcern.W1:Lcom/mongodb/WriteConcern;
2: new com.mongodb.WriteConcern
dup
iconst_2
invokespecial com.mongodb.WriteConcern.<init>:(I)V
putstatic com.mongodb.WriteConcern.W2:Lcom/mongodb/WriteConcern;
3: new com.mongodb.WriteConcern
dup
iconst_3
invokespecial com.mongodb.WriteConcern.<init>:(I)V
putstatic com.mongodb.WriteConcern.W3:Lcom/mongodb/WriteConcern;
4: new com.mongodb.WriteConcern
dup
iconst_0
invokespecial com.mongodb.WriteConcern.<init>:(I)V
putstatic com.mongodb.WriteConcern.UNACKNOWLEDGED:Lcom/mongodb/WriteConcern;
5: getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
iconst_1
invokevirtual com.mongodb.WriteConcern.withFsync:(Z)Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.FSYNCED:Lcom/mongodb/WriteConcern;
6: getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual com.mongodb.WriteConcern.withJournal:(Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.JOURNALED:Lcom/mongodb/WriteConcern;
7: new com.mongodb.WriteConcern
dup
iconst_2
invokespecial com.mongodb.WriteConcern.<init>:(I)V
putstatic com.mongodb.WriteConcern.REPLICA_ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
8: getstatic com.mongodb.WriteConcern.UNACKNOWLEDGED:Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.NORMAL:Lcom/mongodb/WriteConcern;
9: getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.SAFE:Lcom/mongodb/WriteConcern;
10: new com.mongodb.WriteConcern
dup
ldc "majority"
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/String;)V
putstatic com.mongodb.WriteConcern.MAJORITY:Lcom/mongodb/WriteConcern;
11: getstatic com.mongodb.WriteConcern.FSYNCED:Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.FSYNC_SAFE:Lcom/mongodb/WriteConcern;
12: getstatic com.mongodb.WriteConcern.JOURNALED:Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.JOURNAL_SAFE:Lcom/mongodb/WriteConcern;
13: getstatic com.mongodb.WriteConcern.REPLICA_ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
putstatic com.mongodb.WriteConcern.REPLICAS_SAFE:Lcom/mongodb/WriteConcern;
14: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic com.mongodb.WriteConcern.NAMED_CONCERNS:Ljava/util/Map;
15: ldc Lcom/mongodb/WriteConcern;
invokevirtual java.lang.Class.getFields:()[Ljava/lang/reflect/Field;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 24
StackMap locals: top int int java.lang.reflect.Field[]
StackMap stack:
16: aload 3
iload 1
aaload
astore 0
start local 0 17: aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 23
aload 0
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
ldc Lcom/mongodb/WriteConcern;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 23
18: aload 0
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 4
start local 4 19: getstatic com.mongodb.WriteConcern.NAMED_CONCERNS:Ljava/util/Map;
aload 4
aload 0
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.WriteConcern
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: goto 23
StackMap locals: java.lang.reflect.Field int int java.lang.reflect.Field[] java.lang.String
StackMap stack: java.lang.IllegalAccessException
21: astore 5
start local 5 22: new java.lang.RuntimeException
dup
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 0 23: StackMap locals: top int int java.lang.reflect.Field[]
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
24: iload 1
iload 2
if_icmplt 16
25: return
LocalVariableTable:
Start End Slot Name Signature
17 23 0 f Ljava/lang/reflect/Field;
19 23 4 key Ljava/lang/String;
22 23 5 e Ljava/lang/IllegalAccessException;
Exception table:
from to target type
19 20 21 Class java.lang.IllegalAccessException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial com.mongodb.WriteConcern.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aconst_null
aconst_null
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w I
MethodParameters:
Name Flags
w final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: ldc "w"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
0 3 1 w Ljava/lang/String;
MethodParameters:
Name Flags
w final
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aconst_null
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w I
0 2 2 wTimeoutMS I
MethodParameters:
Name Flags
w final
wTimeoutMS final
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 fsync Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
fsync final
public void <init>(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aconst_null
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w I
0 2 2 wTimeoutMS I
0 2 3 fsync Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
w final
wTimeoutMS final
fsync final
public void <init>(int, int, boolean, boolean);
descriptor: (IIZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w I
0 2 2 wTimeoutMS I
0 2 3 fsync Z
0 2 4 journal Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
w final
wTimeoutMS final
fsync final
journal final
public void <init>(java.lang.String, int, boolean, boolean);
descriptor: (Ljava/lang/String;IZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
ldc "w"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w Ljava/lang/String;
0 2 2 wTimeoutMS I
0 2 3 fsync Z
0 2 4 journal Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
w final
wTimeoutMS final
fsync final
journal final
private void <init>(java.lang.Object, java.lang.Integer, java.lang.Boolean, java.lang.Boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
instanceof java.lang.Integer
ifeq 13
2: ldc "w >= 0"
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iflt 3
iconst_1
goto 4
StackMap locals: com.mongodb.WriteConcern java.lang.Object java.lang.Integer java.lang.Boolean java.lang.Boolean
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: com.mongodb.WriteConcern java.lang.Object java.lang.Integer java.lang.Boolean java.lang.Boolean
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifne 15
6: ldc "fsync is false when w is 0"
aload 3
ifnull 7
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: java.lang.String
7: iconst_1
StackMap locals: com.mongodb.WriteConcern java.lang.Object java.lang.Integer java.lang.Boolean java.lang.Boolean
StackMap stack: java.lang.String int
8: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
9: ldc "journal is false when w is 0"
aload 4
ifnull 10
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack: java.lang.String
10: iconst_1
StackMap locals: com.mongodb.WriteConcern java.lang.Object java.lang.Integer java.lang.Boolean java.lang.Boolean
StackMap stack: java.lang.String int
11: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
12: goto 15
StackMap locals:
StackMap stack:
13: aload 1
ifnull 15
14: ldc "w must be String or int"
aload 1
instanceof java.lang.String
invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
15: StackMap locals:
StackMap stack:
ldc "wtimeout >= 0"
aload 2
ifnull 16
aload 2
invokevirtual java.lang.Integer.intValue:()I
ifge 16
iconst_0
goto 17
StackMap locals:
StackMap stack: java.lang.String
16: iconst_1
StackMap locals: com.mongodb.WriteConcern java.lang.Object java.lang.Integer java.lang.Boolean java.lang.Boolean
StackMap stack: java.lang.String int
17: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
18: aload 0
aload 1
putfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
19: aload 0
aload 2
putfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
20: aload 0
aload 3
putfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
21: aload 0
aload 4
putfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
22: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/mongodb/WriteConcern;
0 23 1 w Ljava/lang/Object;
0 23 2 wTimeoutMS Ljava/lang/Integer;
0 23 3 fsync Ljava/lang/Boolean;
0 23 4 journal Ljava/lang/Boolean;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
com.mongodb.lang.Nullable()
2:
com.mongodb.lang.Nullable()
3:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
w final
wTimeoutMS final
fsync final
journal final
public java.lang.Object getWObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
public int getW();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "w is an Integer"
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
ifnull 1
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
instanceof java.lang.Integer
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_0
StackMap locals: com.mongodb.WriteConcern
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/WriteConcern;
public java.lang.String getWString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "w is a String"
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
ifnull 1
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
instanceof java.lang.String
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_0
StackMap locals: com.mongodb.WriteConcern
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/WriteConcern;
public java.lang.Integer getWTimeout(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: ldc "timeUnit"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnonnull 2
aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 1
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
StackMap locals:
StackMap stack: java.lang.Integer
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/WriteConcern;
0 4 1 timeUnit Ljava/util/concurrent/TimeUnit;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
timeUnit final
public int getWtimeout();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.Boolean getJournal();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
public boolean getJ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean getFsync();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean fsync();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.WriteConcern.getFsync:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean callGetLastError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.WriteConcern.isAcknowledged:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean isServerDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
invokevirtual com.mongodb.WriteConcern.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
public org.bson.BsonDocument asDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.mongodb.WriteConcern.addW:(Lorg/bson/BsonDocument;)V
2: aload 0
aload 1
invokevirtual com.mongodb.WriteConcern.addWTimeout:(Lorg/bson/BsonDocument;)V
3: aload 0
aload 1
invokevirtual com.mongodb.WriteConcern.addFSync:(Lorg/bson/BsonDocument;)V
4: aload 0
aload 1
invokevirtual com.mongodb.WriteConcern.addJ:(Lorg/bson/BsonDocument;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/WriteConcern;
1 6 1 document Lorg/bson/BsonDocument;
public boolean isAcknowledged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
instanceof java.lang.Integer
ifeq 5
1: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifgt 4
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnull 2
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 4
StackMap locals:
StackMap stack:
2: aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnull 3
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 4
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/WriteConcern;
public static com.mongodb.WriteConcern valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/WriteConcern;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.WriteConcern.NAMED_CONCERNS:Ljava/util/Map;
aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.WriteConcern
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.WriteConcern
astore 2
start local 2 5: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
ifnull 6
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
aload 2
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
StackMap locals: com.mongodb.WriteConcern
StackMap stack:
6: aload 2
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
ifnull 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnull 9
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
aload 2
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 11
goto 10
StackMap locals:
StackMap stack:
9: aload 2
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnull 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnull 12
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
aload 2
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
12: aload 2
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnull 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnull 15
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
aload 2
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifne 17
goto 16
StackMap locals:
StackMap stack:
15: aload 2
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnull 17
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/mongodb/WriteConcern;
0 18 1 o Ljava/lang/Object;
5 18 2 that Lcom/mongodb/WriteConcern;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
ifnull 1
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnull 4
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 5
StackMap locals: com.mongodb.WriteConcern int
StackMap stack: int
4: iconst_0
StackMap locals: com.mongodb.WriteConcern int
StackMap stack: int int
5: iadd
istore 1
6: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnull 7
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
goto 8
StackMap locals:
StackMap stack: int
7: iconst_0
StackMap locals: com.mongodb.WriteConcern int
StackMap stack: int int
8: iadd
istore 1
9: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnull 10
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
goto 11
StackMap locals:
StackMap stack: int
10: iconst_0
StackMap locals: com.mongodb.WriteConcern int
StackMap stack: int int
11: iadd
istore 1
12: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/WriteConcern;
3 13 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "WriteConcern{w="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", wTimeout="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " ms, fsync="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", journal="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
public com.mongodb.WriteConcern withW(int);
descriptor: (I)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.WriteConcern
dup
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
0 1 1 w I
MethodParameters:
Name Flags
w final
public com.mongodb.WriteConcern withW(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: ldc "w"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.mongodb.WriteConcern
dup
aload 1
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/WriteConcern;
0 2 1 w Ljava/lang/String;
MethodParameters:
Name Flags
w final
public com.mongodb.WriteConcern withFsync(boolean);
descriptor: (Z)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.WriteConcern
dup
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
0 1 1 fsync Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
fsync final
public com.mongodb.WriteConcern withJournal(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.WriteConcern
dup
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
aload 1
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
0 1 1 journal Ljava/lang/Boolean;
MethodParameters:
Name Flags
journal final
public com.mongodb.WriteConcern withJ(boolean);
descriptor: (Z)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual com.mongodb.WriteConcern.withJournal:(Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcern;
0 1 1 journal Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
journal final
public com.mongodb.WriteConcern withWTimeout(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 3 0: ldc "timeUnit"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lstore 4
start local 4 2: ldc "wTimeout >= 0"
lload 1
lconst_0
lcmp
iflt 3
iconst_1
goto 4
StackMap locals: com.mongodb.WriteConcern long java.util.concurrent.TimeUnit long
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: com.mongodb.WriteConcern long java.util.concurrent.TimeUnit long
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: ldc "wTimeout <= 2147483647 ms"
lload 4
ldc 2147483647
lcmp
ifgt 6
iconst_1
goto 7
StackMap locals:
StackMap stack: java.lang.String
6: iconst_0
StackMap locals: com.mongodb.WriteConcern long java.util.concurrent.TimeUnit long
StackMap stack: java.lang.String int
7: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
8: new com.mongodb.WriteConcern
dup
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
lload 4
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/Object;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/WriteConcern;
0 9 1 wTimeout J
0 9 3 timeUnit Ljava/util/concurrent/TimeUnit;
2 9 4 newWTimeOutMS J
MethodParameters:
Name Flags
wTimeout final
timeUnit final
private void addW(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
instanceof java.lang.String
ifeq 3
1: aload 1
ldc "w"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
checkcast java.lang.String
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
instanceof java.lang.Integer
ifeq 5
4: aload 1
ldc "w"
new org.bson.BsonInt32
dup
aload 0
getfield com.mongodb.WriteConcern.w:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/WriteConcern;
0 6 1 document Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
document final
private void addJ(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
ifnull 2
1: aload 1
ldc "j"
aload 0
getfield com.mongodb.WriteConcern.journal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
0 3 1 document Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
document final
private void addFSync(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
ifnull 2
1: aload 1
ldc "fsync"
aload 0
getfield com.mongodb.WriteConcern.fsync:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
0 3 1 document Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
document final
private void addWTimeout(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
ifnull 2
1: aload 1
ldc "wtimeout"
new org.bson.BsonInt32
dup
aload 0
getfield com.mongodb.WriteConcern.wTimeoutMS:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/WriteConcern;
0 3 1 document Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
document final
public static com.mongodb.WriteConcern$Majority majorityWriteConcern(int, boolean, boolean);
descriptor: (IZZ)Lcom/mongodb/WriteConcern$Majority;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.WriteConcern$Majority
dup
iload 0
iload 1
iload 2
invokespecial com.mongodb.WriteConcern$Majority.<init>:(IZZ)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 wtimeout I
0 1 1 fsync Z
0 1 2 j Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
wtimeout final
fsync final
j final
}
SourceFile: "WriteConcern.java"
NestMembers:
com.mongodb.WriteConcern$Majority
InnerClasses:
public Majority = com.mongodb.WriteConcern$Majority of com.mongodb.WriteConcern
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()