public class org.apache.cassandra.gms.EndpointState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.gms.EndpointState
super_class: java.lang.Object
{
protected static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.gms.EndpointState> serializer;
descriptor: Lorg/apache/cassandra/io/IVersionedSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/gms/EndpointState;>;
private volatile org.apache.cassandra.gms.HeartBeatState hbState;
descriptor: Lorg/apache/cassandra/gms/HeartBeatState;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.atomic.AtomicReference<java.util.Map<org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue>> applicationState;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;
private volatile long updateTimestamp;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean isAlive;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
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=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/gms/EndpointState;
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.gms.EndpointState.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/gms/EndpointState;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.gms.EndpointState.logger:Lorg/slf4j/Logger;
4: new org.apache.cassandra.gms.EndpointStateSerializer
dup
invokespecial org.apache.cassandra.gms.EndpointStateSerializer.<init>:()V
putstatic org.apache.cassandra.gms.EndpointState.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.cassandra.gms.HeartBeatState);
descriptor: (Lorg/apache/cassandra/gms/HeartBeatState;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.util.EnumMap
dup
ldc Lorg/apache/cassandra/gms/ApplicationState;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
invokespecial org.apache.cassandra.gms.EndpointState.<init>:(Lorg/apache/cassandra/gms/HeartBeatState;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
0 2 1 initialHbState Lorg/apache/cassandra/gms/HeartBeatState;
MethodParameters:
Name Flags
initialHbState
void <init>(org.apache.cassandra.gms.HeartBeatState, java.util.Map<org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue>);
descriptor: (Lorg/apache/cassandra/gms/HeartBeatState;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=6, 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
aload 1
putfield org.apache.cassandra.gms.EndpointState.hbState:Lorg/apache/cassandra/gms/HeartBeatState;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
new java.util.EnumMap
dup
aload 2
invokespecial java.util.EnumMap.<init>:(Ljava/util/Map;)V
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.apache.cassandra.gms.EndpointState.updateTimestamp:J
4: aload 0
iconst_1
putfield org.apache.cassandra.gms.EndpointState.isAlive:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/gms/EndpointState;
0 6 1 initialHbState Lorg/apache/cassandra/gms/HeartBeatState;
0 6 2 states Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
Signature: (Lorg/apache/cassandra/gms/HeartBeatState;Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;)V
MethodParameters:
Name Flags
initialHbState
states
org.apache.cassandra.gms.HeartBeatState getHeartBeatState();
descriptor: ()Lorg/apache/cassandra/gms/HeartBeatState;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.EndpointState.hbState:Lorg/apache/cassandra/gms/HeartBeatState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
void setHeartBeatState(org.apache.cassandra.gms.HeartBeatState);
descriptor: (Lorg/apache/cassandra/gms/HeartBeatState;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.gms.EndpointState.updateTimestamp:()V
1: aload 0
aload 1
putfield org.apache.cassandra.gms.EndpointState.hbState:Lorg/apache/cassandra/gms/HeartBeatState;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/gms/EndpointState;
0 3 1 newHbState Lorg/apache/cassandra/gms/HeartBeatState;
MethodParameters:
Name Flags
newHbState
public org.apache.cassandra.gms.VersionedValue getApplicationState(org.apache.cassandra.gms.ApplicationState);
descriptor: (Lorg/apache/cassandra/gms/ApplicationState;)Lorg/apache/cassandra/gms/VersionedValue;
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.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.Map
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.gms.VersionedValue
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
0 1 1 key Lorg/apache/cassandra/gms/ApplicationState;
MethodParameters:
Name Flags
key
public java.util.Set<java.util.Map$Entry<org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue>> states();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;
public void addApplicationState(org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue);
descriptor: (Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
invokevirtual org.apache.cassandra.gms.EndpointState.addApplicationStates:(Ljava/util/Map;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
0 2 1 key Lorg/apache/cassandra/gms/ApplicationState;
0 2 2 value Lorg/apache/cassandra/gms/VersionedValue;
MethodParameters:
Name Flags
key
value
public void addApplicationStates(java.util.Map<org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokevirtual org.apache.cassandra.gms.EndpointState.addApplicationStates:(Ljava/util/Set;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
0 2 1 values Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
Signature: (Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;)V
MethodParameters:
Name Flags
values
public void addApplicationStates(java.util.Set<java.util.Map$Entry<org.apache.cassandra.gms.ApplicationState, org.apache.cassandra.gms.VersionedValue>>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: new java.util.EnumMap
dup
aload 2
invokespecial java.util.EnumMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 2: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.apache.cassandra.gms.EndpointState java.util.Set java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 3
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.ApplicationState
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.VersionedValue
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
getfield org.apache.cassandra.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/gms/EndpointState;
0 8 1 values Ljava/util/Set<Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;
1 8 2 orig Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
2 8 3 copy Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
4 5 4 value Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
Signature: (Ljava/util/Set<Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;)V
MethodParameters:
Name Flags
values
public long getUpdateTimestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.EndpointState.updateTimestamp:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
void updateTimestamp();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.apache.cassandra.gms.EndpointState.updateTimestamp:J
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
public boolean isAlive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.EndpointState.isAlive:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
void markAlive();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.gms.EndpointState.isAlive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
void markDead();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.cassandra.gms.EndpointState.isAlive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/gms/EndpointState;
public boolean isRpcReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.gms.ApplicationState.RPC_READY:Lorg/apache/cassandra/gms/ApplicationState;
invokevirtual org.apache.cassandra.gms.EndpointState.getApplicationState:(Lorg/apache/cassandra/gms/ApplicationState;)Lorg/apache/cassandra/gms/VersionedValue;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
getfield org.apache.cassandra.gms.VersionedValue.value:Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.apache.cassandra.gms.VersionedValue
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/gms/EndpointState;
1 3 1 rpcState Lorg/apache/cassandra/gms/VersionedValue;
public java.lang.String getStatus();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.gms.ApplicationState.STATUS:Lorg/apache/cassandra/gms/ApplicationState;
invokevirtual org.apache.cassandra.gms.EndpointState.getApplicationState:(Lorg/apache/cassandra/gms/ApplicationState;)Lorg/apache/cassandra/gms/VersionedValue;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc ""
areturn
3: StackMap locals: org.apache.cassandra.gms.VersionedValue
StackMap stack:
aload 1
getfield org.apache.cassandra.gms.VersionedValue.value:Ljava/lang/String;
getstatic org.apache.cassandra.gms.VersionedValue.DELIMITER_STR:Ljava/lang/String;
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 2
start local 2 4: getstatic org.apache.cassandra.gms.EndpointState.$assertionsDisabled:Z
ifne 5
aload 2
arraylength
ifgt 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: java.lang.String[]
StackMap stack:
aload 2
iconst_0
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/gms/EndpointState;
1 6 1 status Lorg/apache/cassandra/gms/VersionedValue;
4 6 2 pieces [Ljava/lang/String;
public java.util.UUID getSchemaVersion();
descriptor: ()Ljava/util/UUID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.gms.ApplicationState.SCHEMA:Lorg/apache/cassandra/gms/ApplicationState;
invokevirtual org.apache.cassandra.gms.EndpointState.getApplicationState:(Lorg/apache/cassandra/gms/ApplicationState;)Lorg/apache/cassandra/gms/VersionedValue;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
getfield org.apache.cassandra.gms.VersionedValue.value:Ljava/lang/String;
invokestatic java.util.UUID.fromString:(Ljava/lang/String;)Ljava/util/UUID;
goto 4
3: StackMap locals: org.apache.cassandra.gms.VersionedValue
StackMap stack:
aconst_null
4: StackMap locals:
StackMap stack: java.util.UUID
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/gms/EndpointState;
1 5 1 applicationState Lorg/apache/cassandra/gms/VersionedValue;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public org.apache.cassandra.utils.CassandraVersion getReleaseVersion();
descriptor: ()Lorg/apache/cassandra/utils/CassandraVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.gms.ApplicationState.RELEASE_VERSION:Lorg/apache/cassandra/gms/ApplicationState;
invokevirtual org.apache.cassandra.gms.EndpointState.getApplicationState:(Lorg/apache/cassandra/gms/ApplicationState;)Lorg/apache/cassandra/gms/VersionedValue;
astore 1
start local 1 1: aload 1
ifnull 3
2: new org.apache.cassandra.utils.CassandraVersion
dup
aload 1
getfield org.apache.cassandra.gms.VersionedValue.value:Ljava/lang/String;
invokespecial org.apache.cassandra.utils.CassandraVersion.<init>:(Ljava/lang/String;)V
goto 4
3: StackMap locals: org.apache.cassandra.gms.VersionedValue
StackMap stack:
aconst_null
4: StackMap locals:
StackMap stack: org.apache.cassandra.utils.CassandraVersion
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/gms/EndpointState;
1 5 1 applicationState Lorg/apache/cassandra/gms/VersionedValue;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
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: new java.lang.StringBuilder
dup
ldc "EndpointState: HeartBeatState = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.gms.EndpointState.hbState:Lorg/apache/cassandra/gms/HeartBeatState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", AppStateMap = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.gms.EndpointState.applicationState:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointState;
}
SourceFile: "EndpointState.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map