public class org.apache.cassandra.db.context.CounterContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.context.CounterContext
super_class: java.lang.Object
{
private static final int HEADER_SIZE_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int HEADER_ELT_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int CLOCK_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int COUNT_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int STEP_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final org.apache.cassandra.utils.CounterId UPDATE_CLOCK_ID;
descriptor: Lorg/apache/cassandra/utils/CounterId;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: sipush 32767
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
putstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
1: sipush 32767
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
putstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
2: ldc 9223372036854775807
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(J)I
putstatic org.apache.cassandra.db.context.CounterContext.CLOCK_LENGTH:I
3: ldc 9223372036854775807
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(J)I
putstatic org.apache.cassandra.db.context.CounterContext.COUNT_LENGTH:I
4: bipush 16
getstatic org.apache.cassandra.db.context.CounterContext.CLOCK_LENGTH:I
iadd
getstatic org.apache.cassandra.db.context.CounterContext.COUNT_LENGTH:I
iadd
putstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
5: iconst_0
invokestatic org.apache.cassandra.utils.CounterId.fromInt:(I)Lorg/apache/cassandra/utils/CounterId;
putstatic org.apache.cassandra.db.context.CounterContext.UPDATE_CLOCK_ID:Lorg/apache/cassandra/utils/CounterId;
6: ldc Lorg/apache/cassandra/db/context/CounterContext;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.context.CounterContext.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/context/CounterContext;
public static org.apache.cassandra.db.context.CounterContext instance();
descriptor: ()Lorg/apache/cassandra/db/context/CounterContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.cassandra.db.context.CounterContext$LazyHolder.counterContext:Lorg/apache/cassandra/db/context/CounterContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.ByteBuffer createUpdate(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
iconst_1
iconst_0
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.allocate:(III)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 3
start local 3 1: aload 3
getstatic org.apache.cassandra.db.context.CounterContext.UPDATE_CLOCK_ID:Lorg/apache/cassandra/utils/CounterId;
lconst_1
lload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.writeLocal:(Lorg/apache/cassandra/utils/CounterId;JJ)V
2: aload 3
getfield org.apache.cassandra.db.context.CounterContext$ContextState.context:Ljava/nio/ByteBuffer;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 3 1 count J
1 3 3 state Lorg/apache/cassandra/db/context/CounterContext$ContextState;
MethodParameters:
Name Flags
count
public boolean isUpdate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
getstatic org.apache.cassandra.db.context.CounterContext.UPDATE_CLOCK_ID:Lorg/apache/cassandra/utils/CounterId;
invokevirtual org.apache.cassandra.utils.CounterId.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 1 1 context Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
public long getUpdateCount(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.apache.cassandra.db.context.CounterContext.UPDATE_CLOCK_ID:Lorg/apache/cassandra/utils/CounterId;
invokevirtual org.apache.cassandra.db.context.CounterContext.getClockAndCountOf:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/utils/CounterId;)Lorg/apache/cassandra/db/ClockAndCount;
getfield org.apache.cassandra.db.ClockAndCount.count:J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 1 1 context Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
public java.nio.ByteBuffer createGlobal(org.apache.cassandra.utils.CounterId, long, long);
descriptor: (Lorg/apache/cassandra/utils/CounterId;JJ)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: iconst_1
iconst_0
iconst_0
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.allocate:(III)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 6
start local 6 1: aload 6
aload 1
lload 2
lload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.writeGlobal:(Lorg/apache/cassandra/utils/CounterId;JJ)V
2: aload 6
getfield org.apache.cassandra.db.context.CounterContext$ContextState.context:Ljava/nio/ByteBuffer;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 3 1 id Lorg/apache/cassandra/utils/CounterId;
0 3 2 clock J
0 3 4 count J
1 3 6 state Lorg/apache/cassandra/db/context/CounterContext$ContextState;
MethodParameters:
Name Flags
id
clock
count
public java.nio.ByteBuffer createLocal(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
iconst_1
iconst_0
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.allocate:(III)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 3
start local 3 1: aload 3
invokestatic org.apache.cassandra.utils.CounterId.getLocalId:()Lorg/apache/cassandra/utils/CounterId;
lconst_1
lload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.writeLocal:(Lorg/apache/cassandra/utils/CounterId;JJ)V
2: aload 3
getfield org.apache.cassandra.db.context.CounterContext$ContextState.context:Ljava/nio/ByteBuffer;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 3 1 count J
1 3 3 state Lorg/apache/cassandra/db/context/CounterContext$ContextState;
MethodParameters:
Name Flags
count
public java.nio.ByteBuffer createRemote(org.apache.cassandra.utils.CounterId, long, long);
descriptor: (Lorg/apache/cassandra/utils/CounterId;JJ)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: iconst_0
iconst_0
iconst_1
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.allocate:(III)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 6
start local 6 1: aload 6
aload 1
lload 2
lload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.writeRemote:(Lorg/apache/cassandra/utils/CounterId;JJ)V
2: aload 6
getfield org.apache.cassandra.db.context.CounterContext$ContextState.context:Ljava/nio/ByteBuffer;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 3 1 id Lorg/apache/cassandra/utils/CounterId;
0 3 2 clock J
0 3 4 count J
1 3 6 state Lorg/apache/cassandra/db/context/CounterContext$ContextState;
MethodParameters:
Name Flags
id
clock
count
private static int headerLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
invokestatic java.lang.Math.abs:(I)I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
private static int compareId(java.nio.ByteBuffer, int, java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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
aload 2
iload 3
bipush 16
invokestatic org.apache.cassandra.utils.ByteBufferUtil.compareSubArrays:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bb1 Ljava/nio/ByteBuffer;
0 1 1 pos1 I
0 1 2 bb2 Ljava/nio/ByteBuffer;
0 1 3 pos2 I
MethodParameters:
Name Flags
bb1
pos1
bb2
pos2
public org.apache.cassandra.db.context.CounterContext$Relationship diff(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$Relationship;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=15, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 3
start local 3 1: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 4
start local 4 2: aload 2
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 5
start local 5 3: goto 36
4: StackMap locals: org.apache.cassandra.db.context.CounterContext$Relationship org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$ContextState
StackMap stack:
aload 4
aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.compareIdTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)I
istore 6
start local 6 5: iload 6
ifne 25
6: aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
lstore 7
start local 7 7: aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
lstore 9
start local 9 8: aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
lstore 11
start local 11 9: aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
lstore 13
start local 13 10: aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
11: aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
12: lload 7
lload 9
lcmp
ifne 15
13: lload 11
lload 13
lcmp
ifeq 36
14: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
15: StackMap locals: org.apache.cassandra.db.context.CounterContext java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.context.CounterContext$Relationship org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$ContextState int long long long long
StackMap stack:
lload 7
lconst_0
lcmp
iflt 16
lload 9
lconst_0
lcmp
ifle 16
lload 7
lload 9
lcmp
ifgt 17
16: StackMap locals:
StackMap stack:
lload 7
lconst_0
lcmp
ifge 21
lload 9
lconst_0
lcmp
ifgt 17
lload 7
lload 9
lcmp
ifge 21
17: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 19
18: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 3
goto 36
19: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 36
20: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
21: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 23
22: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 3
goto 36
23: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 36
24: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
end local 13 end local 11 end local 9 end local 7 25: StackMap locals: org.apache.cassandra.db.context.CounterContext java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.context.CounterContext$Relationship org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$ContextState int
StackMap stack:
iload 6
ifle 31
26: aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
27: aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 29
28: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 3
goto 36
29: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 36
30: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
31: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
32: aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 34
33: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 3
goto 36
34: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 36
35: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
end local 6 36: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 37
aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 4
37: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 42
38: aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 40
39: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
40: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 42
41: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
42: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 47
43: aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 45
44: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
45: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 47
46: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
47: StackMap locals:
StackMap stack:
aload 3
areturn
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 48 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 48 1 left Ljava/nio/ByteBuffer;
0 48 2 right Ljava/nio/ByteBuffer;
1 48 3 relationship Lorg/apache/cassandra/db/context/CounterContext$Relationship;
2 48 4 leftState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
3 48 5 rightState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
5 36 6 compareId I
7 25 7 leftClock J
8 25 9 rightClock J
9 25 11 leftCount J
10 25 13 rightCount J
MethodParameters:
Name Flags
left
right
public java.nio.ByteBuffer merge(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: iconst_1
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 8
start local 8 6: aload 2
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 9
start local 9 7: goto 41
8: StackMap locals: org.apache.cassandra.db.context.CounterContext java.nio.ByteBuffer java.nio.ByteBuffer int int int int int org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$ContextState
StackMap stack:
aload 8
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.compareIdTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)I
istore 10
start local 10 9: iload 10
ifne 25
10: aload 0
aload 8
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext.compare:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;)Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 11
start local 11 11: aload 11
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 13
12: iconst_0
istore 4
goto 17
13: StackMap locals: int org.apache.cassandra.db.context.CounterContext$Relationship
StackMap stack:
aload 11
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 15
14: iconst_0
istore 3
goto 17
15: StackMap locals:
StackMap stack:
aload 11
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 17
16: iconst_0
dup
istore 4
istore 3
17: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifne 18
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 19
18: StackMap locals:
StackMap stack:
iinc 5 1
goto 22
19: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifne 20
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 21
20: StackMap locals:
StackMap stack:
iinc 6 1
goto 22
21: StackMap locals:
StackMap stack:
iinc 7 1
22: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
23: aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
end local 11 24: goto 41
25: StackMap locals:
StackMap stack:
iload 10
ifle 34
26: iconst_0
istore 3
27: aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 29
28: iinc 5 1
goto 32
29: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 31
30: iinc 6 1
goto 32
31: StackMap locals:
StackMap stack:
iinc 7 1
32: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
33: goto 41
34: StackMap locals:
StackMap stack:
iconst_0
istore 4
35: aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 37
36: iinc 5 1
goto 40
37: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 39
38: iinc 6 1
goto 40
39: StackMap locals:
StackMap stack:
iinc 7 1
40: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
end local 10 41: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 42
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 8
42: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 44
43: iconst_0
istore 4
goto 46
44: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 46
45: iconst_0
istore 3
46: StackMap locals:
StackMap stack:
iload 3
ifeq 48
47: aload 1
areturn
48: StackMap locals:
StackMap stack:
iload 4
ifeq 56
49: aload 2
areturn
50: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 52
51: iinc 5 1
goto 55
52: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 54
53: iinc 6 1
goto 55
54: StackMap locals:
StackMap stack:
iinc 7 1
55: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
56: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 50
57: goto 64
58: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 60
59: iinc 5 1
goto 63
60: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 62
61: iinc 6 1
goto 63
62: StackMap locals:
StackMap stack:
iinc 7 1
63: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
64: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 58
65: aload 8
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.reset:()V
66: aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.reset:()V
67: aload 0
iload 5
iload 6
iload 7
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.allocate:(III)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
aload 8
aload 9
invokevirtual org.apache.cassandra.db.context.CounterContext.merge:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;)Ljava/nio/ByteBuffer;
areturn
end local 9 end local 8 end local 7 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 68 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 68 1 left Ljava/nio/ByteBuffer;
0 68 2 right Ljava/nio/ByteBuffer;
1 68 3 leftIsSuperSet Z
2 68 4 rightIsSuperSet Z
3 68 5 globalCount I
4 68 6 localCount I
5 68 7 remoteCount I
6 68 8 leftState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
7 68 9 rightState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
9 41 10 cmp I
11 24 11 rel Lorg/apache/cassandra/db/context/CounterContext$Relationship;
MethodParameters:
Name Flags
left
right
private java.nio.ByteBuffer merge(org.apache.cassandra.db.context.CounterContext$ContextState, org.apache.cassandra.db.context.CounterContext$ContextState, org.apache.cassandra.db.context.CounterContext$ContextState);
descriptor: (Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 22
1: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.compareIdTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)I
istore 4
start local 4 2: iload 4
ifne 16
3: aload 0
aload 2
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext.compare:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;)Lorg/apache/cassandra/db/context/CounterContext$Relationship;
astore 5
start local 5 4: aload 5
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 10
5: aload 1
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
6: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
ladd
7: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
ladd
8: invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.writeLocal:(Lorg/apache/cassandra/utils/CounterId;JJ)V
9: goto 13
10: StackMap locals: int org.apache.cassandra.db.context.CounterContext$Relationship
StackMap stack:
aload 5
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
if_acmpne 12
11: aload 2
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
goto 13
12: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
14: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
end local 5 15: goto 22
16: StackMap locals:
StackMap stack:
iload 4
ifle 20
17: aload 3
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
18: aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
19: goto 22
20: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
21: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
end local 4 22: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifeq 26
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 1
23: goto 26
24: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
25: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
26: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 24
27: goto 30
28: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.copyTo:(Lorg/apache/cassandra/db/context/CounterContext$ContextState;)V
29: aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
30: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 28
31: aload 1
getfield org.apache.cassandra.db.context.CounterContext$ContextState.context:Ljava/nio/ByteBuffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 32 1 mergedState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
0 32 2 leftState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
0 32 3 rightState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
2 22 4 cmp I
4 15 5 rel Lorg/apache/cassandra/db/context/CounterContext$Relationship;
MethodParameters:
Name Flags
mergedState
leftState
rightState
private org.apache.cassandra.db.context.CounterContext$Relationship compare(org.apache.cassandra.db.context.CounterContext$ContextState, org.apache.cassandra.db.context.CounterContext$ContextState);
descriptor: (Lorg/apache/cassandra/db/context/CounterContext$ContextState;Lorg/apache/cassandra/db/context/CounterContext$ContextState;)Lorg/apache/cassandra/db/context/CounterContext$Relationship;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
lstore 3
start local 3 1: aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
lstore 5
start local 5 2: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
lstore 7
start local 7 3: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
lstore 9
start local 9 4: aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifne 5
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 23
5: StackMap locals: org.apache.cassandra.db.context.CounterContext org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$ContextState long long long long
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 20
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 20
6: lload 3
lload 7
lcmp
ifne 17
7: lload 5
lload 9
lcmp
ifeq 12
getstatic org.apache.cassandra.db.compaction.CompactionManager.isCompactionManager:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 12
8: getstatic org.apache.cassandra.db.context.CounterContext.logger:Lorg/slf4j/Logger;
ldc "invalid global counter shard detected; ({}, {}, {}) and ({}, {}, {}) differ only in count; will pick highest to self-heal on compaction"
bipush 6
anewarray java.lang.Object
dup
iconst_0
9: aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
aastore
dup
iconst_1
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
10: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
aastore
dup
iconst_4
lload 7
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_5
lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
11: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
lload 5
lload 9
lcmp
ifle 14
13: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
14: StackMap locals:
StackMap stack:
lload 5
lload 9
lcmp
ifne 16
15: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
16: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
17: StackMap locals:
StackMap stack:
lload 3
lload 7
lcmp
ifle 18
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
goto 19
StackMap locals:
StackMap stack:
18: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
StackMap locals:
StackMap stack: org.apache.cassandra.db.context.CounterContext$Relationship
19: areturn
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 21
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
goto 22
StackMap locals:
StackMap stack:
21: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
StackMap locals:
StackMap stack: org.apache.cassandra.db.context.CounterContext$Relationship
22: areturn
23: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifne 24
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 29
24: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 26
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 26
25: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.DISJOINT:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
26: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 27
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
goto 28
StackMap locals:
StackMap stack:
27: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
StackMap locals:
StackMap stack: org.apache.cassandra.db.context.CounterContext$Relationship
28: areturn
29: StackMap locals:
StackMap stack:
lload 3
lload 7
lcmp
ifne 40
30: lload 5
lload 9
lcmp
ifeq 35
getstatic org.apache.cassandra.db.compaction.CompactionManager.isCompactionManager:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 35
31: getstatic org.apache.cassandra.db.context.CounterContext.logger:Lorg/slf4j/Logger;
ldc "invalid remote counter shard detected; ({}, {}, {}) and ({}, {}, {}) differ only in count; will pick highest to self-heal on compaction"
bipush 6
anewarray java.lang.Object
dup
iconst_0
32: aload 1
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
aastore
dup
iconst_1
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
33: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
aastore
dup
iconst_4
lload 7
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_5
lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
34: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
35: StackMap locals:
StackMap stack:
lload 5
lload 9
lcmp
ifle 37
36: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
37: StackMap locals:
StackMap stack:
lload 5
lload 9
lcmp
ifne 39
38: getstatic org.apache.cassandra.db.context.CounterContext$Relationship.EQUAL:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
39: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
40: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
iflt 41
lload 7
lconst_0
lcmp
ifle 41
lload 3
lload 7
lcmp
ifge 42
41: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifge 43
lload 7
lconst_0
lcmp
ifgt 42
lload 3
lload 7
lcmp
ifge 43
42: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.GREATER_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
43: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.context.CounterContext$Relationship.LESS_THAN:Lorg/apache/cassandra/db/context/CounterContext$Relationship;
areturn
end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 44 1 leftState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
0 44 2 rightState Lorg/apache/cassandra/db/context/CounterContext$ContextState;
1 44 3 leftClock J
2 44 5 leftCount J
3 44 7 rightClock J
4 44 9 rightCount J
MethodParameters:
Name Flags
leftState
rightState
public java.lang.String toString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext$ContextState.wrap:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/context/CounterContext$ContextState;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 3
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 16
4: StackMap locals: org.apache.cassandra.db.context.CounterContext$ContextState java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getElementIndex:()I
ifle 6
5: aload 3
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 3
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCounterId:()Lorg/apache/cassandra/utils/CounterId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 3
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getClock:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 3
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.getCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
10: aload 3
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isGlobal:()Z
ifeq 13
12: aload 3
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 15
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.isLocal:()Z
ifeq 15
14: aload 3
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.moveToNext:()V
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext$ContextState.hasRemaining:()Z
ifne 4
17: aload 3
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 19 1 context Ljava/nio/ByteBuffer;
1 19 2 state Lorg/apache/cassandra/db/context/CounterContext$ContextState;
2 19 3 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
context
public long total(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
iadd
istore 4
start local 4 2: goto 5
3: StackMap locals: long int
StackMap stack:
lload 2
aload 1
iload 4
bipush 16
iadd
getstatic org.apache.cassandra.db.context.CounterContext.CLOCK_LENGTH:I
iadd
invokevirtual java.nio.ByteBuffer.getLong:(I)J
ladd
lstore 2
4: iload 4
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
iadd
istore 4
StackMap locals:
StackMap stack:
5: iload 4
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 3
end local 4 6: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 7 1 context Ljava/nio/ByteBuffer;
1 7 2 total J
2 6 4 offset I
MethodParameters:
Name Flags
context
public boolean shouldClearLocal(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 2 1 context Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
public boolean hasLegacyShards(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
isub
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
idiv
istore 2
start local 2 1: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
invokestatic java.lang.Math.abs:(I)I
istore 3
start local 3 2: iload 3
iload 2
if_icmpge 4
3: iconst_1
ireturn
4: StackMap locals: int int
StackMap stack:
iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
iload 4
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
iadd
invokevirtual java.nio.ByteBuffer.getShort:(I)S
iflt 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmplt 6
end local 4 10: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 11 1 context Ljava/nio/ByteBuffer;
1 11 2 totalCount I
2 11 3 localAndGlobalCount I
5 10 4 i I
MethodParameters:
Name Flags
context
public java.nio.ByteBuffer markLocalToBeCleared(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
istore 2
start local 2 1: iload 2
ifgt 3
2: aload 1
areturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
iload 4
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
iadd
invokevirtual java.nio.ByteBuffer.getShort:(I)S
iflt 9
7: iconst_1
istore 3
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 6
end local 4 11: StackMap locals:
StackMap stack:
iload 3
ifne 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 14: aload 4
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iconst_m1
imul
i2s
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
15: aload 1
16: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
17: aload 4
18: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
19: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
isub
20: invokestatic org.apache.cassandra.utils.ByteBufferUtil.arrayCopy:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
21: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 22 1 context Ljava/nio/ByteBuffer;
1 22 2 count S
4 22 3 hasLocalShards Z
5 11 4 i I
14 22 4 marked Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
public java.nio.ByteBuffer clearAllLocal(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
invokestatic java.lang.Math.abs:(I)I
istore 2
start local 2 1: iload 2
ifne 3
2: aload 1
areturn
3: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: java.util.List int
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
iload 4
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
iadd
invokevirtual java.nio.ByteBuffer.getShort:(I)S
istore 5
start local 5 7: iload 5
ifge 9
8: aload 3
iload 5
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 6
end local 4 11: iload 2
aload 3
invokeinterface java.util.List.size:()I
if_icmpne 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
aload 3
invokeinterface java.util.List.size:()I
isub
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
isub
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 14: aload 4
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
aload 3
invokeinterface java.util.List.size:()I
i2s
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
15: iconst_0
istore 5
start local 5 16: goto 19
17: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 4
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_SIZE_LENGTH:I
iadd
iload 5
getstatic org.apache.cassandra.db.context.CounterContext.HEADER_ELT_LENGTH:I
imul
iadd
aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 17
end local 5 20: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
istore 5
start local 5 21: aload 1
22: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 5
iadd
23: aload 4
24: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
aload 4
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
iadd
25: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 5
isub
26: invokestatic org.apache.cassandra.utils.ByteBufferUtil.arrayCopy:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
27: aload 4
areturn
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 28 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 28 1 context Ljava/nio/ByteBuffer;
1 28 2 count I
4 28 3 globalShardIndexes Ljava/util/List<Ljava/lang/Short;>;
5 11 4 i I
7 9 5 elt S
14 28 4 cleared Ljava/nio/ByteBuffer;
16 20 5 i I
21 28 5 origHeaderLength I
MethodParameters:
Name Flags
context
public void validateContext(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
isub
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
irem
ifeq 2
1: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Invalid size for a counter context"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 3 1 context Ljava/nio/ByteBuffer;
Exceptions:
throws org.apache.cassandra.serializers.MarshalException
MethodParameters:
Name Flags
context
public void updateDigest(java.security.MessageDigest, java.nio.ByteBuffer);
descriptor: (Ljava/security/MessageDigest;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 3
start local 3 3: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
aload 2
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: aload 1
aload 3
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 6 1 message Ljava/security/MessageDigest;
0 6 2 context Ljava/nio/ByteBuffer;
3 6 3 dup Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
message
context
public org.apache.cassandra.db.ClockAndCount getLocalClockAndCount(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClockAndCount;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.utils.CounterId.getLocalId:()Lorg/apache/cassandra/utils/CounterId;
invokevirtual org.apache.cassandra.db.context.CounterContext.getClockAndCountOf:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/utils/CounterId;)Lorg/apache/cassandra/db/ClockAndCount;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 1 1 context Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
context
public org.apache.cassandra.db.ClockAndCount getClockAndCountOf(java.nio.ByteBuffer, org.apache.cassandra.utils.CounterId);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/utils/CounterId;)Lorg/apache/cassandra/db/ClockAndCount;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.db.context.CounterContext.findPositionOf:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/utils/CounterId;)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpne 3
2: getstatic org.apache.cassandra.db.ClockAndCount.BLANK:Lorg/apache/cassandra/db/ClockAndCount;
areturn
3: StackMap locals: int
StackMap stack:
aload 1
iload 3
bipush 16
iadd
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lstore 4
start local 4 4: aload 1
iload 3
bipush 16
iadd
getstatic org.apache.cassandra.db.context.CounterContext.CLOCK_LENGTH:I
iadd
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lstore 6
start local 6 5: lload 4
lload 6
invokestatic org.apache.cassandra.db.ClockAndCount.create:(JJ)Lorg/apache/cassandra/db/ClockAndCount;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 6 1 context Ljava/nio/ByteBuffer;
0 6 2 id Lorg/apache/cassandra/utils/CounterId;
1 6 3 position I
4 6 4 clock J
5 6 6 count J
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
context
id
public int findPositionOf(java.nio.ByteBuffer, org.apache.cassandra.utils.CounterId);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/utils/CounterId;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.headerLength:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 1: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
isub
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
idiv
iconst_1
isub
istore 6
start local 6 4: goto 12
5: StackMap locals: org.apache.cassandra.db.context.CounterContext java.nio.ByteBuffer org.apache.cassandra.utils.CounterId int int int int
StackMap stack:
iload 5
iload 6
iadd
iconst_2
idiv
istore 7
start local 7 6: aload 1
iload 4
iload 7
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
imul
iadd
aload 2
invokevirtual org.apache.cassandra.utils.CounterId.bytes:()Ljava/nio/ByteBuffer;
aload 2
invokevirtual org.apache.cassandra.utils.CounterId.bytes:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokestatic org.apache.cassandra.db.context.CounterContext.compareId:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;I)I
istore 8
start local 8 7: iload 8
iconst_m1
if_icmpne 9
8: iload 7
iconst_1
iadd
istore 5
goto 12
9: StackMap locals: int int
StackMap stack:
iload 8
ifne 11
10: iload 4
iload 7
getstatic org.apache.cassandra.db.context.CounterContext.STEP_LENGTH:I
imul
iadd
ireturn
11: StackMap locals:
StackMap stack:
iload 7
iconst_1
isub
istore 6
end local 8 end local 7 12: StackMap locals:
StackMap stack:
iload 6
iload 5
if_icmpge 5
13: iconst_m1
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 14 0 this Lorg/apache/cassandra/db/context/CounterContext;
0 14 1 context Ljava/nio/ByteBuffer;
0 14 2 id Lorg/apache/cassandra/utils/CounterId;
1 14 3 headerLength I
2 14 4 offset I
3 14 5 left I
4 14 6 right I
6 12 7 middle I
7 12 8 cmp I
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
context
id
}
SourceFile: "CounterContext.java"
NestMembers:
org.apache.cassandra.db.context.CounterContext$ContextState org.apache.cassandra.db.context.CounterContext$LazyHolder org.apache.cassandra.db.context.CounterContext$Relationship
InnerClasses:
public ContextState = org.apache.cassandra.db.context.CounterContext$ContextState of org.apache.cassandra.db.context.CounterContext
private LazyHolder = org.apache.cassandra.db.context.CounterContext$LazyHolder of org.apache.cassandra.db.context.CounterContext
public final Relationship = org.apache.cassandra.db.context.CounterContext$Relationship of org.apache.cassandra.db.context.CounterContext