public final class org.apache.cassandra.hints.Hint
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.hints.Hint
super_class: java.lang.Object
{
public static final org.apache.cassandra.hints.Hint$Serializer serializer;
descriptor: Lorg/apache/cassandra/hints/Hint$Serializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
final org.apache.cassandra.db.Mutation mutation;
descriptor: Lorg/apache/cassandra/db/Mutation;
flags: (0x0010) ACC_FINAL
final long creationTime;
descriptor: J
flags: (0x0010) ACC_FINAL
final int gcgs;
descriptor: I
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.hints.Hint$Serializer
dup
invokespecial org.apache.cassandra.hints.Hint$Serializer.<init>:()V
putstatic org.apache.cassandra.hints.Hint.serializer:Lorg/apache/cassandra/hints/Hint$Serializer;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.cassandra.db.Mutation, long, int);
descriptor: (Lorg/apache/cassandra/db/Mutation;JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.hints.Hint.mutation:Lorg/apache/cassandra/db/Mutation;
2: aload 0
lload 2
putfield org.apache.cassandra.hints.Hint.creationTime:J
3: aload 0
iload 4
putfield org.apache.cassandra.hints.Hint.gcgs:I
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/hints/Hint;
0 5 1 mutation Lorg/apache/cassandra/db/Mutation;
0 5 2 creationTime J
0 5 4 gcgs I
MethodParameters:
Name Flags
mutation
creationTime
gcgs
public static org.apache.cassandra.hints.Hint create(org.apache.cassandra.db.Mutation, long);
descriptor: (Lorg/apache/cassandra/db/Mutation;J)Lorg/apache/cassandra/hints/Hint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.hints.Hint
dup
aload 0
lload 1
aload 0
invokevirtual org.apache.cassandra.db.Mutation.smallestGCGS:()I
invokespecial org.apache.cassandra.hints.Hint.<init>:(Lorg/apache/cassandra/db/Mutation;JI)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mutation Lorg/apache/cassandra/db/Mutation;
0 1 1 creationTime J
MethodParameters:
Name Flags
mutation
creationTime
public static org.apache.cassandra.hints.Hint create(org.apache.cassandra.db.Mutation, long, int);
descriptor: (Lorg/apache/cassandra/db/Mutation;JI)Lorg/apache/cassandra/hints/Hint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.cassandra.hints.Hint
dup
aload 0
lload 1
iload 3
invokespecial org.apache.cassandra.hints.Hint.<init>:(Lorg/apache/cassandra/db/Mutation;JI)V
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mutation Lorg/apache/cassandra/db/Mutation;
0 1 1 creationTime J
0 1 3 gcgs I
MethodParameters:
Name Flags
mutation
creationTime
gcgs
java.util.concurrent.CompletableFuture<?> applyFuture();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.hints.Hint.isLive:()Z
ifeq 9
1: aload 0
getfield org.apache.cassandra.hints.Hint.mutation:Lorg/apache/cassandra/db/Mutation;
astore 1
start local 1 2: aload 0
getfield org.apache.cassandra.hints.Hint.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.getColumnFamilyIds:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.hints.Hint org.apache.cassandra.db.Mutation top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.UUID
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.hints.Hint.creationTime:J
aload 2
invokestatic org.apache.cassandra.db.SystemKeyspace.getTruncatedAt:(Ljava/util/UUID;)J
lcmp
ifgt 6
5: aload 1
aload 2
invokevirtual org.apache.cassandra.db.Mutation.without:(Ljava/util/UUID;)Lorg/apache/cassandra/db/Mutation;
astore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 1
invokevirtual org.apache.cassandra.db.Mutation.isEmpty:()Z
ifne 9
8: aload 1
invokevirtual org.apache.cassandra.db.Mutation.applyFuture:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 1 9: StackMap locals: org.apache.cassandra.hints.Hint
StackMap stack:
aconst_null
invokestatic java.util.concurrent.CompletableFuture.completedFuture:(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/hints/Hint;
2 9 1 filtered Lorg/apache/cassandra/db/Mutation;
4 6 2 id Ljava/util/UUID;
Signature: ()Ljava/util/concurrent/CompletableFuture<*>;
void apply();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.hints.Hint.applyFuture:()Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
pop
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/hints/Hint;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
boolean isLive();
descriptor: ()Z
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.Hint.gcgs:I
aload 0
getfield org.apache.cassandra.hints.Hint.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.smallestGCGS:()I
invokestatic java.lang.Math.min:(II)I
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.hints.Hint.creationTime:J
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
iload 1
i2l
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
ladd
lstore 2
start local 2 2: lload 2
invokestatic java.lang.System.currentTimeMillis:()J
lcmp
ifle 3
iconst_1
ireturn
StackMap locals: int long
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/hints/Hint;
1 4 1 smallestGCGS I
2 4 2 expirationTime J
}
SourceFile: "Hint.java"
NestMembers:
org.apache.cassandra.hints.Hint$Serializer
InnerClasses:
final Serializer = org.apache.cassandra.hints.Hint$Serializer of org.apache.cassandra.hints.Hint