class org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData
super_class: java.lang.Object
{
private java.util.Map<java.lang.Integer, org.apache.cassandra.streaming.StreamSession> streamSessions;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/cassandra/streaming/StreamSession;>;
private java.util.Map<java.lang.Integer, org.apache.cassandra.streaming.SessionInfo> sessionInfos;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/cassandra/streaming/SessionInfo;>;
private int lastReturned;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.cassandra.streaming.StreamCoordinator this$0;
descriptor: Lorg/apache/cassandra/streaming/StreamCoordinator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.apache.cassandra.streaming.StreamCoordinator);
descriptor: (Lorg/apache/cassandra/streaming/StreamCoordinator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.sessionInfos:Ljava/util/Map;
3: aload 0
iconst_m1
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
MethodParameters:
Name Flags
this$0 final
public boolean hasActiveSessions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.StreamSession
astore 1
start local 1 2: aload 1
invokevirtual org.apache.cassandra.streaming.StreamSession.state:()Lorg/apache/cassandra/streaming/StreamSession$State;
astore 3
start local 3 3: aload 3
getstatic org.apache.cassandra.streaming.StreamSession$State.COMPLETE:Lorg/apache/cassandra/streaming/StreamSession$State;
if_acmpeq 5
aload 3
getstatic org.apache.cassandra.streaming.StreamSession$State.FAILED:Lorg/apache/cassandra/streaming/StreamSession$State;
if_acmpeq 5
4: iconst_1
ireturn
end local 3 end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
2 5 1 session Lorg/apache/cassandra/streaming/StreamSession;
3 5 3 state Lorg/apache/cassandra/streaming/StreamSession$State;
public org.apache.cassandra.streaming.StreamSession getOrCreateNextSession(java.net.InetAddress, java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;Ljava/net/InetAddress;)Lorg/apache/cassandra/streaming/StreamSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.connectionsPerHost:I
if_icmpge 4
1: new org.apache.cassandra.streaming.StreamSession
dup
aload 1
aload 2
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.factory:Lorg/apache/cassandra/streaming/StreamConnectionFactory;
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.keepSSTableLevel:Z
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.isIncremental:Z
invokespecial org.apache.cassandra.streaming.StreamSession.<init>:(Ljava/net/InetAddress;Ljava/net/InetAddress;Lorg/apache/cassandra/streaming/StreamConnectionFactory;IZZ)V
astore 3
start local 3 2: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
aload 0
dup
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
iconst_1
iadd
dup_x1
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iconst_1
isub
if_icmplt 6
5: aload 0
iconst_0
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
aload 0
dup
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.lastReturned:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.StreamSession
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
0 7 1 peer Ljava/net/InetAddress;
0 7 2 connecting Ljava/net/InetAddress;
2 4 3 session Lorg/apache/cassandra/streaming/StreamSession;
MethodParameters:
Name Flags
peer
connecting
public void connectAllStreamSessions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.StreamSession
astore 1
start local 1 2: getstatic org.apache.cassandra.streaming.StreamCoordinator.streamExecutor:Lorg/apache/cassandra/concurrent/DebuggableThreadPoolExecutor;
new org.apache.cassandra.streaming.StreamCoordinator$StreamSessionConnector
dup
aload 1
invokespecial org.apache.cassandra.streaming.StreamCoordinator$StreamSessionConnector.<init>:(Lorg/apache/cassandra/streaming/StreamSession;)V
invokevirtual org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.execute:(Ljava/lang/Runnable;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
2 3 1 session Lorg/apache/cassandra/streaming/StreamSession;
public java.util.Collection<org.apache.cassandra.streaming.StreamSession> getAllStreamSessions();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/streaming/StreamSession;>;
public org.apache.cassandra.streaming.StreamSession getOrCreateSessionById(java.net.InetAddress, int, java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;ILjava/net/InetAddress;)Lorg/apache/cassandra/streaming/StreamSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.StreamSession
astore 4
start local 4 1: aload 4
ifnonnull 4
2: new org.apache.cassandra.streaming.StreamSession
dup
aload 1
aload 3
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.factory:Lorg/apache/cassandra/streaming/StreamConnectionFactory;
iload 2
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.keepSSTableLevel:Z
aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.this$0:Lorg/apache/cassandra/streaming/StreamCoordinator;
getfield org.apache.cassandra.streaming.StreamCoordinator.isIncremental:Z
invokespecial org.apache.cassandra.streaming.StreamSession.<init>:(Ljava/net/InetAddress;Ljava/net/InetAddress;Lorg/apache/cassandra/streaming/StreamConnectionFactory;IZZ)V
astore 4
3: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.streamSessions:Ljava/util/Map;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.apache.cassandra.streaming.StreamSession
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
0 5 1 peer Ljava/net/InetAddress;
0 5 2 id I
0 5 3 connecting Ljava/net/InetAddress;
1 5 4 session Lorg/apache/cassandra/streaming/StreamSession;
MethodParameters:
Name Flags
peer
id
connecting
public void updateProgress(org.apache.cassandra.streaming.ProgressInfo);
descriptor: (Lorg/apache/cassandra/streaming/ProgressInfo;)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.streaming.StreamCoordinator$HostStreamingData.sessionInfos:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.streaming.SessionInfo
aload 1
invokevirtual org.apache.cassandra.streaming.SessionInfo.updateProgress:(Lorg/apache/cassandra/streaming/ProgressInfo;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
0 2 1 info Lorg/apache/cassandra/streaming/ProgressInfo;
MethodParameters:
Name Flags
info
public void addSessionInfo(org.apache.cassandra.streaming.SessionInfo);
descriptor: (Lorg/apache/cassandra/streaming/SessionInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.sessionInfos:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.streaming.SessionInfo.sessionIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
0 2 1 info Lorg/apache/cassandra/streaming/SessionInfo;
MethodParameters:
Name Flags
info
public java.util.Collection<org.apache.cassandra.streaming.SessionInfo> getAllSessionInfo();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData.sessionInfos:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamCoordinator$HostStreamingData;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/streaming/SessionInfo;>;
}
SourceFile: "StreamCoordinator.java"
NestHost: org.apache.cassandra.streaming.StreamCoordinator
InnerClasses:
private HostStreamingData = org.apache.cassandra.streaming.StreamCoordinator$HostStreamingData of org.apache.cassandra.streaming.StreamCoordinator
private StreamSessionConnector = org.apache.cassandra.streaming.StreamCoordinator$StreamSessionConnector of org.apache.cassandra.streaming.StreamCoordinator
public final State = org.apache.cassandra.streaming.StreamSession$State of org.apache.cassandra.streaming.StreamSession