public class org.apache.cassandra.repair.RemoteSyncTask extends org.apache.cassandra.repair.SyncTask
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.repair.RemoteSyncTask
super_class: org.apache.cassandra.repair.SyncTask
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/repair/RemoteSyncTask;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.repair.RemoteSyncTask.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.repair.RepairJobDesc, java.net.InetAddress, java.net.InetAddress, java.util.List<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>>);
descriptor: (Lorg/apache/cassandra/repair/RepairJobDesc;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.apache.cassandra.repair.SyncTask.<init>:(Lorg/apache/cassandra/repair/RepairJobDesc;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/List;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/repair/RemoteSyncTask;
0 2 1 desc Lorg/apache/cassandra/repair/RepairJobDesc;
0 2 2 firstEndpoint Ljava/net/InetAddress;
0 2 3 secondEndpoint Ljava/net/InetAddress;
0 2 4 rangesToSync Ljava/util/List<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
Signature: (Lorg/apache/cassandra/repair/RepairJobDesc;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/List<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;)V
MethodParameters:
Name Flags
desc
firstEndpoint
secondEndpoint
rangesToSync
protected void startSync(java.util.List<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
astore 2
start local 2 1: new org.apache.cassandra.repair.messages.SyncRequest
dup
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.desc:Lorg/apache/cassandra/repair/RepairJobDesc;
aload 2
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.firstEndpoint:Ljava/net/InetAddress;
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.secondEndpoint:Ljava/net/InetAddress;
aload 1
invokespecial org.apache.cassandra.repair.messages.SyncRequest.<init>:(Lorg/apache/cassandra/repair/RepairJobDesc;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/Collection;)V
astore 3
start local 3 2: ldc "Forwarding streaming repair of %d ranges to %s (to be streamed with %s)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.repair.messages.SyncRequest.ranges:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
getfield org.apache.cassandra.repair.messages.SyncRequest.src:Ljava/net/InetAddress;
aastore
dup
iconst_2
aload 3
getfield org.apache.cassandra.repair.messages.SyncRequest.dst:Ljava/net/InetAddress;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 3: getstatic org.apache.cassandra.repair.RemoteSyncTask.logger:Lorg/slf4j/Logger;
ldc "[repair #{}] {}"
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.desc:Lorg/apache/cassandra/repair/RepairJobDesc;
getfield org.apache.cassandra.repair.RepairJobDesc.sessionId:Ljava/util/UUID;
aload 4
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 4
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.tracing.Tracing.traceRepair:(Ljava/lang/String;[Ljava/lang/Object;)V
5: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 3
invokevirtual org.apache.cassandra.repair.messages.SyncRequest.createMessage:()Lorg/apache/cassandra/net/MessageOut;
aload 3
getfield org.apache.cassandra.repair.messages.SyncRequest.src:Ljava/net/InetAddress;
invokevirtual org.apache.cassandra.net.MessagingService.sendOneWay:(Lorg/apache/cassandra/net/MessageOut;Ljava/net/InetAddress;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/repair/RemoteSyncTask;
0 7 1 differences Ljava/util/List<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
1 7 2 local Ljava/net/InetAddress;
2 7 3 request Lorg/apache/cassandra/repair/messages/SyncRequest;
3 7 4 message Ljava/lang/String;
Signature: (Ljava/util/List<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;)V
MethodParameters:
Name Flags
differences
public void syncComplete(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 3
1: aload 0
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.stat:Lorg/apache/cassandra/repair/SyncStat;
invokevirtual org.apache.cassandra.repair.RemoteSyncTask.set:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
new org.apache.cassandra.exceptions.RepairException
dup
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.desc:Lorg/apache/cassandra/repair/RepairJobDesc;
ldc "Sync failed between %s and %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.firstEndpoint:Ljava/net/InetAddress;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.repair.RemoteSyncTask.secondEndpoint:Ljava/net/InetAddress;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.RepairException.<init>:(Lorg/apache/cassandra/repair/RepairJobDesc;Ljava/lang/String;)V
invokevirtual org.apache.cassandra.repair.RemoteSyncTask.setException:(Ljava/lang/Throwable;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/repair/RemoteSyncTask;
0 5 1 success Z
MethodParameters:
Name Flags
success
}
SourceFile: "RemoteSyncTask.java"