class org.apache.cassandra.service.MigrationTask extends org.apache.cassandra.utils.WrappedRunnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.service.MigrationTask
super_class: org.apache.cassandra.utils.WrappedRunnable
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ConcurrentLinkedQueue<java.util.concurrent.CountDownLatch> inflightTasks;
descriptor: Ljava/util/concurrent/ConcurrentLinkedQueue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/util/concurrent/CountDownLatch;>;
private static final java.util.Set<org.apache.cassandra.db.SystemKeyspace$BootstrapState> monitoringBootstrapStates;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/db/SystemKeyspace$BootstrapState;>;
private final java.net.InetAddress endpoint;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/service/MigrationTask;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.service.MigrationTask.logger:Lorg/slf4j/Logger;
1: new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putstatic org.apache.cassandra.service.MigrationTask.inflightTasks:Ljava/util/concurrent/ConcurrentLinkedQueue;
2: getstatic org.apache.cassandra.db.SystemKeyspace$BootstrapState.NEEDS_BOOTSTRAP:Lorg/apache/cassandra/db/SystemKeyspace$BootstrapState;
getstatic org.apache.cassandra.db.SystemKeyspace$BootstrapState.IN_PROGRESS:Lorg/apache/cassandra/db/SystemKeyspace$BootstrapState;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
putstatic org.apache.cassandra.service.MigrationTask.monitoringBootstrapStates:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.utils.WrappedRunnable.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/MigrationTask;
0 3 1 endpoint Ljava/net/InetAddress;
MethodParameters:
Name Flags
endpoint
public static java.util.concurrent.ConcurrentLinkedQueue<java.util.concurrent.CountDownLatch> getInflightTasks();
descriptor: ()Ljava/util/concurrent/ConcurrentLinkedQueue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.cassandra.service.MigrationTask.inflightTasks:Ljava/util/concurrent/ConcurrentLinkedQueue;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/util/concurrent/CountDownLatch;>;
public void runMayThrow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: getstatic org.apache.cassandra.gms.FailureDetector.instance:Lorg/apache/cassandra/gms/IFailureDetector;
aload 0
getfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
invokeinterface org.apache.cassandra.gms.IFailureDetector.isAlive:(Ljava/net/InetAddress;)Z
ifne 3
1: getstatic org.apache.cassandra.service.MigrationTask.logger:Lorg/slf4j/Logger;
ldc "Can't send schema pull request: node {} is down."
aload 0
getfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
invokestatic org.apache.cassandra.service.MigrationManager.shouldPullSchemaFrom:(Ljava/net/InetAddress;)Z
ifne 6
4: getstatic org.apache.cassandra.service.MigrationTask.logger:Lorg/slf4j/Logger;
ldc "Skipped sending a migration request: node {} has a higher major version now."
aload 0
getfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
5: return
6: StackMap locals:
StackMap stack:
new org.apache.cassandra.net.MessageOut
dup
getstatic org.apache.cassandra.net.MessagingService$Verb.MIGRATION_REQUEST:Lorg/apache/cassandra/net/MessagingService$Verb;
aconst_null
getstatic org.apache.cassandra.service.MigrationManager$MigrationsSerializer.instance:Lorg/apache/cassandra/service/MigrationManager$MigrationsSerializer;
invokespecial org.apache.cassandra.net.MessageOut.<init>:(Lorg/apache/cassandra/net/MessagingService$Verb;Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer;)V
astore 1
start local 1 7: new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
astore 2
start local 2 8: new org.apache.cassandra.service.MigrationTask$1
dup
aload 0
aload 2
invokespecial org.apache.cassandra.service.MigrationTask$1.<init>:(Lorg/apache/cassandra/service/MigrationTask;Ljava/util/concurrent/CountDownLatch;)V
astore 3
start local 3 9: getstatic org.apache.cassandra.service.MigrationTask.monitoringBootstrapStates:Ljava/util/Set;
invokestatic org.apache.cassandra.db.SystemKeyspace.getBootstrapState:()Lorg/apache/cassandra/db/SystemKeyspace$BootstrapState;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
10: getstatic org.apache.cassandra.service.MigrationTask.inflightTasks:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 2
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.offer:(Ljava/lang/Object;)Z
pop
11: StackMap locals: org.apache.cassandra.net.MessageOut java.util.concurrent.CountDownLatch org.apache.cassandra.net.IAsyncCallback
StackMap stack:
invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 1
aload 0
getfield org.apache.cassandra.service.MigrationTask.endpoint:Ljava/net/InetAddress;
aload 3
invokevirtual org.apache.cassandra.net.MessagingService.sendRR:(Lorg/apache/cassandra/net/MessageOut;Ljava/net/InetAddress;Lorg/apache/cassandra/net/IAsyncCallback;)I
pop
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/service/MigrationTask;
7 13 1 message Lorg/apache/cassandra/net/MessageOut;
8 13 2 completionLatch Ljava/util/concurrent/CountDownLatch;
9 13 3 cb Lorg/apache/cassandra/net/IAsyncCallback<Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;>;
Exceptions:
throws java.lang.Exception
}
SourceFile: "MigrationTask.java"
NestMembers:
org.apache.cassandra.service.MigrationTask$1
InnerClasses:
public final BootstrapState = org.apache.cassandra.db.SystemKeyspace$BootstrapState of org.apache.cassandra.db.SystemKeyspace
public Verb = org.apache.cassandra.net.MessagingService$Verb of org.apache.cassandra.net.MessagingService
public MigrationsSerializer = org.apache.cassandra.service.MigrationManager$MigrationsSerializer of org.apache.cassandra.service.MigrationManager
org.apache.cassandra.service.MigrationTask$1