public abstract class org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional implements org.apache.cassandra.utils.concurrent.Transactional
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional
super_class: java.lang.Object
{
private org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State state;
descriptor: Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$utils$concurrent$Transactional$AbstractTransactional$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.IN_PROGRESS:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
putfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
protected abstract java.lang.Throwable doCommit(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
accumulate
protected abstract java.lang.Throwable doAbort(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
accumulate
protected java.lang.Throwable doPreCleanup(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
0 1 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
protected java.lang.Throwable doPostCleanup(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
0 1 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
protected abstract void doPrepare();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public final java.lang.Throwable commit(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.READY_TO_COMMIT:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot commit unless READY_TO_COMMIT; state is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doCommit:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
3: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPostCleanup:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
4: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.COMMITTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
putfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
0 6 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
public final java.lang.Throwable abort(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ABORTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
if_acmpne 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.COMMITTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
if_acmpne 7
3: new java.lang.IllegalStateException
dup
ldc "Attempted to abort a committed operation"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: aload 1
aload 2
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 2 6: aload 1
areturn
7: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ABORTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
putfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
8: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPreCleanup:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
9: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doAbort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
10: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPostCleanup:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
0 12 1 accumulate Ljava/lang/Throwable;
5 6 2 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 4 Class java.lang.Throwable
MethodParameters:
Name Flags
accumulate
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.$SWITCH_TABLE$org$apache$cassandra$utils$concurrent$Transactional$AbstractTransactional$State:()[I
aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ordinal:()I
iaload
tableswitch { // 3 - 4
3: 1
4: 1
default: 2
}
1: StackMap locals:
StackMap stack:
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.abort:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
public final void prepareToCommit();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.IN_PROGRESS:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot prepare to commit unless IN_PROGRESS; state is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPrepare:()V
3: aload 0
aconst_null
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPreCleanup:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
4: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.READY_TO_COMMIT:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
putfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
public java.lang.Object finish();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit:()V
1: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.commit:()V
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
public final void abort();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
public final void commit();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.commit:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
public final org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State state();
descriptor: ()Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.state:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional;
static int[] $SWITCH_TABLE$org$apache$cassandra$utils$concurrent$Transactional$AbstractTransactional$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.$SWITCH_TABLE$org$apache$cassandra$utils$concurrent$Transactional$AbstractTransactional$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.values:()[Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ABORTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.COMMITTED:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.IN_PROGRESS:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.READY_TO_COMMIT:Lorg/apache/cassandra/utils/concurrent/Transactional$AbstractTransactional$State;
invokevirtual org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.$SWITCH_TABLE$org$apache$cassandra$utils$concurrent$Transactional$AbstractTransactional$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "Transactional.java"
NestHost: org.apache.cassandra.utils.concurrent.Transactional
InnerClasses:
public abstract AbstractTransactional = org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional of org.apache.cassandra.utils.concurrent.Transactional
public final State = org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional$State of org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional