public class org.apache.cassandra.db.ExpirationDateOverflowHandling
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.ExpirationDateOverflowHandling
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int EXPIRATION_OVERFLOW_WARNING_INTERVAL_MINUTES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy policy;
descriptor: Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
public static final java.lang.String MAXIMUM_EXPIRATION_DATE_EXCEEDED_WARNING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Request on table {}.{} with {}ttl of {} seconds exceeds maximum supported expiration date of 2038-01-19T03:14:06+00:00 and will have its expiration capped to that date. In order to avoid this use a lower TTL or upgrade to a version where this limitation is fixed. See CASSANDRA-14092 for more details."
public static final java.lang.String MAXIMUM_EXPIRATION_DATE_EXCEEDED_REJECT_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Request on table %s.%s with %sttl of %d seconds exceeds maximum supported expiration date of 2038-01-19T03:14:06+00:00. In order to avoid this use a lower TTL, change the expiration date overflow policy or upgrade to a version where this limitation is fixed. See CASSANDRA-14092 for more details."
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$db$ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Lorg/apache/cassandra/cql3/Attributes;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.logger:Lorg/slf4j/Logger;
1: ldc "cassandra.expiration_overflow_warning_interval_minutes"
iconst_5
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.EXPIRATION_OVERFLOW_WARNING_INTERVAL_MINUTES:I
2: ldc "cassandra.expiration_date_overflow_policy"
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.REJECT:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.name:()Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 3: aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.valueOf:(Ljava/lang/String;)Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
putstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.policy:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
4: goto 8
5: StackMap locals: java.lang.String
StackMap stack: java.lang.RuntimeException
pop
6: getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.logger:Lorg/slf4j/Logger;
ldc "Invalid expiration date overflow policy: {}. Using default: {}"
aload 0
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.REJECT:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.name:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.REJECT:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
putstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.policy:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
end local 0 8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 8 0 policyAsString Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.RuntimeException
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/ExpirationDateOverflowHandling;
public static void maybeApplyExpirationDateOverflowPolicy(org.apache.cassandra.config.CFMetaData, int, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;IZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
ldc 1000
ldiv
l2i
istore 3
start local 3 3: iload 1
iload 3
iadd
ifge 24
4: invokestatic org.apache.cassandra.db.ExpirationDateOverflowHandling.$SWITCH_TABLE$org$apache$cassandra$db$ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy:()[I
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.policy:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 13
3: 5
default: 19
}
5: StackMap locals: int
StackMap stack:
getstatic org.apache.cassandra.service.ClientWarn.instance:Lorg/apache/cassandra/service/ClientWarn;
ldc "Request on table {}.{} with {}ttl of {} seconds exceeds maximum supported expiration date of 2038-01-19T03:14:06+00:00 and will have its expiration capped to that date. In order to avoid this use a lower TTL or upgrade to a version where this limitation is fixed. See CASSANDRA-14092 for more details."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
6: aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
dup
iconst_2
7: iload 2
ifeq 8
ldc "default "
goto 9
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: org.apache.cassandra.service.ClientWarn java.lang.String java.lang.Object[] java.lang.Object[] int
8: ldc ""
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: org.apache.cassandra.service.ClientWarn java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
9: aastore
dup
iconst_3
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic org.slf4j.helpers.MessageFormatter.arrayFormat:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
11: invokevirtual org.slf4j.helpers.FormattingTuple.getMessage:()Ljava/lang/String;
12: invokevirtual org.apache.cassandra.service.ClientWarn.warn:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.logger:Lorg/slf4j/Logger;
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.WARN:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.EXPIRATION_OVERFLOW_WARNING_INTERVAL_MINUTES:I
i2l
getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
ldc "Request on table {}.{} with {}ttl of {} seconds exceeds maximum supported expiration date of 2038-01-19T03:14:06+00:00 and will have its expiration capped to that date. In order to avoid this use a lower TTL or upgrade to a version where this limitation is fixed. See CASSANDRA-14092 for more details."
iconst_4
anewarray java.lang.Object
dup
iconst_0
14: aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
dup
iconst_2
iload 2
ifeq 15
ldc "default "
goto 16
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: org.slf4j.Logger org.apache.cassandra.utils.NoSpamLogger$Level long java.util.concurrent.TimeUnit java.lang.String java.lang.Object[] java.lang.Object[] int
15: ldc ""
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: org.slf4j.Logger org.apache.cassandra.utils.NoSpamLogger$Level long java.util.concurrent.TimeUnit java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
16: aastore
dup
iconst_3
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
17: invokestatic org.apache.cassandra.utils.NoSpamLogger.log:(Lorg/slf4j/Logger;Lorg/apache/cassandra/utils/NoSpamLogger$Level;JLjava/util/concurrent/TimeUnit;Ljava/lang/String;[Ljava/lang/Object;)Z
pop
18: return
19: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Request on table %s.%s with %sttl of %d seconds exceeds maximum supported expiration date of 2038-01-19T03:14:06+00:00. In order to avoid this use a lower TTL, change the expiration date overflow policy or upgrade to a version where this limitation is fixed. See CASSANDRA-14092 for more details."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
dup
iconst_2
20: iload 2
ifeq 21
ldc "default "
goto 22
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: new 19 new 19 java.lang.String java.lang.Object[] java.lang.Object[] int
21: ldc ""
StackMap locals: org.apache.cassandra.config.CFMetaData int int int
StackMap stack: new 19 new 19 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
22: aastore
dup
iconst_3
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
23: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 metadata Lorg/apache/cassandra/config/CFMetaData;
0 25 1 ttl I
0 25 2 isDefaultTTL Z
3 25 3 nowInSecs I
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
metadata
ttl
isDefaultTTL
public static int computeLocalExpirationTime(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iadd
istore 2
start local 2 1: iload 2
iflt 2
iload 2
goto 3
StackMap locals: int
StackMap stack:
2: ldc 2147483646
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 nowInSec I
0 4 1 timeToLive I
1 4 2 localExpirationTime I
MethodParameters:
Name Flags
nowInSec
timeToLive
static int[] $SWITCH_TABLE$org$apache$cassandra$db$ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.$SWITCH_TABLE$org$apache$cassandra$db$ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.values:()[Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.CAP:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.ordinal:()I
iconst_3
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.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.CAP_NOWARN:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.REJECT:Lorg/apache/cassandra/db/ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy;
invokevirtual org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.cassandra.db.ExpirationDateOverflowHandling.$SWITCH_TABLE$org$apache$cassandra$db$ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy:[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
}
SourceFile: "ExpirationDateOverflowHandling.java"
NestMembers:
org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy
InnerClasses:
public final ExpirationDateOverflowPolicy = org.apache.cassandra.db.ExpirationDateOverflowHandling$ExpirationDateOverflowPolicy of org.apache.cassandra.db.ExpirationDateOverflowHandling
public final Level = org.apache.cassandra.utils.NoSpamLogger$Level of org.apache.cassandra.utils.NoSpamLogger