public final class org.apache.cassandra.schema.KeyspaceParams
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.schema.KeyspaceParams
super_class: java.lang.Object
{
public static final boolean DEFAULT_DURABLE_WRITES;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static boolean DEFAULT_LOCAL_DURABLE_WRITES;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
public final boolean durableWrites;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.schema.ReplicationParams replication;
descriptor: Lorg/apache/cassandra/schema/ReplicationParams;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
putstatic org.apache.cassandra.schema.KeyspaceParams.DEFAULT_LOCAL_DURABLE_WRITES:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean, org.apache.cassandra.schema.ReplicationParams);
descriptor: (ZLorg/apache/cassandra/schema/ReplicationParams;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
2: aload 0
aload 2
putfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/schema/KeyspaceParams;
0 4 1 durableWrites Z
0 4 2 replication Lorg/apache/cassandra/schema/ReplicationParams;
MethodParameters:
Name Flags
durableWrites
replication
public static org.apache.cassandra.schema.KeyspaceParams create(boolean, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (ZLjava/util/Map;)Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.schema.KeyspaceParams
dup
iload 0
aload 1
invokestatic org.apache.cassandra.schema.ReplicationParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/ReplicationParams;
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 durableWrites Z
0 1 1 replication Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (ZLjava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/KeyspaceParams;
MethodParameters:
Name Flags
durableWrites
replication
public static org.apache.cassandra.schema.KeyspaceParams local();
descriptor: ()Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.apache.cassandra.schema.KeyspaceParams
dup
getstatic org.apache.cassandra.schema.KeyspaceParams.DEFAULT_LOCAL_DURABLE_WRITES:Z
invokestatic org.apache.cassandra.schema.ReplicationParams.local:()Lorg/apache/cassandra/schema/ReplicationParams;
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.KeyspaceParams simple(int);
descriptor: (I)Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.KeyspaceParams
dup
iconst_1
iload 0
invokestatic org.apache.cassandra.schema.ReplicationParams.simple:(I)Lorg/apache/cassandra/schema/ReplicationParams;
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 replicationFactor I
MethodParameters:
Name Flags
replicationFactor
public static org.apache.cassandra.schema.KeyspaceParams simpleTransient(int);
descriptor: (I)Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.KeyspaceParams
dup
iconst_0
iload 0
invokestatic org.apache.cassandra.schema.ReplicationParams.simple:(I)Lorg/apache/cassandra/schema/ReplicationParams;
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 replicationFactor I
MethodParameters:
Name Flags
replicationFactor
public static org.apache.cassandra.schema.KeyspaceParams nts(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.KeyspaceParams
dup
iconst_1
aload 0
invokestatic org.apache.cassandra.schema.ReplicationParams.nts:([Ljava/lang/Object;)Lorg/apache/cassandra/schema/ReplicationParams;
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
public void validate(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
aload 1
invokevirtual org.apache.cassandra.schema.ReplicationParams.validate:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/schema/KeyspaceParams;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.schema.KeyspaceParams
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.schema.KeyspaceParams
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
aload 2
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
if_icmpne 6
aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
aload 2
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
invokevirtual org.apache.cassandra.schema.ReplicationParams.equals:(Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.apache.cassandra.schema.KeyspaceParams
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/schema/KeyspaceParams;
0 7 1 o Ljava/lang/Object;
5 7 2 p Lorg/apache/cassandra/schema/KeyspaceParams;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/KeyspaceParams;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
1: getstatic org.apache.cassandra.schema.KeyspaceParams$Option.DURABLE_WRITES:Lorg/apache/cassandra/schema/KeyspaceParams$Option;
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Z)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: getstatic org.apache.cassandra.schema.KeyspaceParams$Option.REPLICATION:Lorg/apache/cassandra/schema/KeyspaceParams$Option;
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/schema/KeyspaceParams;
}
SourceFile: "KeyspaceParams.java"
NestMembers:
org.apache.cassandra.schema.KeyspaceParams$Option
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
public final Option = org.apache.cassandra.schema.KeyspaceParams$Option of org.apache.cassandra.schema.KeyspaceParams