public class org.apache.cassandra.dht.StreamStateStore implements org.apache.cassandra.streaming.StreamEventHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.dht.StreamStateStore
super_class: java.lang.Object
{
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/dht/StreamStateStore;
public java.util.Set<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>> getAvailableRanges(java.lang.String, org.apache.cassandra.dht.IPartitioner);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/dht/IPartitioner;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.apache.cassandra.db.SystemKeyspace.getAvailableRanges:(Ljava/lang/String;Lorg/apache/cassandra/dht/IPartitioner;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/StreamStateStore;
0 1 1 keyspace Ljava/lang/String;
0 1 2 partitioner Lorg/apache/cassandra/dht/IPartitioner;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/dht/IPartitioner;)Ljava/util/Set<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
MethodParameters:
Name Flags
keyspace
partitioner
public boolean isDataAvailable(java.lang.String, org.apache.cassandra.dht.Token);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/dht/Token;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.dht.Token.getPartitioner:()Lorg/apache/cassandra/dht/IPartitioner;
invokevirtual org.apache.cassandra.dht.StreamStateStore.getAvailableRanges:(Ljava/lang/String;Lorg/apache/cassandra/dht/IPartitioner;)Ljava/util/Set;
astore 3
start local 3 1: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.apache.cassandra.dht.StreamStateStore java.lang.String org.apache.cassandra.dht.Token java.util.Set top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
astore 4
start local 4 3: aload 4
aload 2
invokevirtual org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/RingPosition;)Z
ifeq 5
4: iconst_1
ireturn
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iconst_0
ireturn
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/dht/StreamStateStore;
0 7 1 keyspace Ljava/lang/String;
0 7 2 token Lorg/apache/cassandra/dht/Token;
1 7 3 availableRanges Ljava/util/Set<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
3 5 4 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
MethodParameters:
Name Flags
keyspace
token
public void handleStreamEvent(org.apache.cassandra.streaming.StreamEvent);
descriptor: (Lorg/apache/cassandra/streaming/StreamEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.streaming.StreamEvent.eventType:Lorg/apache/cassandra/streaming/StreamEvent$Type;
getstatic org.apache.cassandra.streaming.StreamEvent$Type.STREAM_COMPLETE:Lorg/apache/cassandra/streaming/StreamEvent$Type;
if_acmpne 12
1: aload 1
checkcast org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent
astore 2
start local 2 2: aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.success:Z
ifeq 12
3: aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.transferredRangesPerKeyspace:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
astore 3
start local 3 4: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.apache.cassandra.dht.StreamStateStore org.apache.cassandra.streaming.StreamEvent org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent java.util.Set top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.description:Ljava/lang/String;
aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.peer:Ljava/net/InetAddress;
aload 4
aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.transferredRangesPerKeyspace:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokestatic org.apache.cassandra.db.SystemKeyspace.updateTransferredRanges:(Ljava/lang/String;Ljava/net/InetAddress;Ljava/lang/String;Ljava/util/Collection;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
getfield org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent.requests:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals:
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.StreamRequest
astore 4
start local 4 10: aload 4
getfield org.apache.cassandra.streaming.StreamRequest.keyspace:Ljava/lang/String;
aload 4
getfield org.apache.cassandra.streaming.StreamRequest.ranges:Ljava/util/Collection;
invokestatic org.apache.cassandra.db.SystemKeyspace.updateAvailableRanges:(Ljava/lang/String;Ljava/util/Collection;)V
end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 3 end local 2 12: StackMap locals: org.apache.cassandra.dht.StreamStateStore org.apache.cassandra.streaming.StreamEvent
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/dht/StreamStateStore;
0 13 1 event Lorg/apache/cassandra/streaming/StreamEvent;
2 12 2 se Lorg/apache/cassandra/streaming/StreamEvent$SessionCompleteEvent;
4 12 3 keyspaces Ljava/util/Set<Ljava/lang/String;>;
6 7 4 keyspace Ljava/lang/String;
10 11 4 request Lorg/apache/cassandra/streaming/StreamRequest;
MethodParameters:
Name Flags
event
public void onSuccess(org.apache.cassandra.streaming.StreamState);
descriptor: (Lorg/apache/cassandra/streaming/StreamState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/StreamStateStore;
0 1 1 streamState Lorg/apache/cassandra/streaming/StreamState;
MethodParameters:
Name Flags
streamState
public void onFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/StreamStateStore;
0 1 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void onSuccess(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.streaming.StreamState
invokevirtual org.apache.cassandra.dht.StreamStateStore.onSuccess:(Lorg/apache/cassandra/streaming/StreamState;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StreamStateStore.java"
InnerClasses:
public SessionCompleteEvent = org.apache.cassandra.streaming.StreamEvent$SessionCompleteEvent of org.apache.cassandra.streaming.StreamEvent
public final Type = org.apache.cassandra.streaming.StreamEvent$Type of org.apache.cassandra.streaming.StreamEvent