class org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo extends org.apache.cassandra.db.LivenessInfo
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo
super_class: org.apache.cassandra.db.LivenessInfo
{
private final int ttl;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int localExpirationTime;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/LivenessInfo;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(long, int, int);
descriptor: (JII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
lload 1
invokespecial org.apache.cassandra.db.LivenessInfo.<init>:(J)V
1: getstatic org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.$assertionsDisabled:Z
ifne 3
iload 3
ifeq 2
iload 4
ldc 2147483647
if_icmpne 3
StackMap locals: org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo long int int
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
4: aload 0
iload 4
putfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
5: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
0 6 1 timestamp J
0 6 3 ttl I
0 6 4 localExpirationTime I
MethodParameters:
Name Flags
timestamp
ttl
localExpirationTime
public int ttl();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
public int localExpirationTime();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
public boolean isExpiring();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
public boolean isLive(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
if_icmpge 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/LivenessInfo$ExpiringLivenessInfo;
0 2 1 nowInSec I
MethodParameters:
Name Flags
nowInSec
public void digest(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.cassandra.db.LivenessInfo.digest:(Ljava/security/MessageDigest;)V
1: aload 1
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
invokestatic org.apache.cassandra.utils.FBUtilities.updateWithInt:(Ljava/security/MessageDigest;I)V
2: aload 1
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
invokestatic org.apache.cassandra.utils.FBUtilities.updateWithInt:(Ljava/security/MessageDigest;I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
0 4 1 digest Ljava/security/MessageDigest;
MethodParameters:
Name Flags
digest
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
ifge 2
1: new org.apache.cassandra.serializers.MarshalException
dup
ldc "A TTL should not be negative"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
ifge 4
3: new org.apache.cassandra.serializers.MarshalException
dup
ldc "A local expiration time should not be negative"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
public int dataSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.cassandra.db.LivenessInfo.dataSize:()I
1: aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
2: iadd
3: aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
4: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
public org.apache.cassandra.db.LivenessInfo withUpdatedTimestamp(long);
descriptor: (J)Lorg/apache/cassandra/db/LivenessInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo
dup
lload 1
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
invokespecial org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.<init>:(JII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
0 1 1 newTimestamp J
MethodParameters:
Name Flags
newTimestamp
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "[ts=%d ttl=%d, let=%d]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.timestamp:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.ttl:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo.localExpirationTime:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/LivenessInfo$ExpiringLivenessInfo;
}
SourceFile: "LivenessInfo.java"
NestHost: org.apache.cassandra.db.LivenessInfo
InnerClasses:
private ExpiringLivenessInfo = org.apache.cassandra.db.LivenessInfo$ExpiringLivenessInfo of org.apache.cassandra.db.LivenessInfo