public class org.apache.cassandra.transport.Server$ConnectionTracker implements org.apache.cassandra.transport.Connection$Tracker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.transport.Server$ConnectionTracker
super_class: java.lang.Object
{
public final io.netty.channel.group.ChannelGroup allChannels;
descriptor: Lio/netty/channel/group/ChannelGroup;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final java.util.EnumMap<org.apache.cassandra.transport.Event$Type, io.netty.channel.group.ChannelGroup> groups;
descriptor: Ljava/util/EnumMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumMap<Lorg/apache/cassandra/transport/Event$Type;Lio/netty/channel/group/ChannelGroup;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.netty.channel.group.DefaultChannelGroup
dup
getstatic io.netty.util.concurrent.GlobalEventExecutor.INSTANCE:Lio/netty/util/concurrent/GlobalEventExecutor;
invokespecial io.netty.channel.group.DefaultChannelGroup.<init>:(Lio/netty/util/concurrent/EventExecutor;)V
putfield org.apache.cassandra.transport.Server$ConnectionTracker.allChannels:Lio/netty/channel/group/ChannelGroup;
2: aload 0
new java.util.EnumMap
dup
ldc Lorg/apache/cassandra/transport/Event$Type;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield org.apache.cassandra.transport.Server$ConnectionTracker.groups:Ljava/util/EnumMap;
3: invokestatic org.apache.cassandra.transport.Event$Type.values:()[Lorg/apache/cassandra/transport/Event$Type;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.apache.cassandra.transport.Server$ConnectionTracker top int int org.apache.cassandra.transport.Event$Type[]
StackMap stack:
4: aload 4
iload 2
aaload
astore 1
start local 1 5: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.groups:Ljava/util/EnumMap;
aload 1
new io.netty.channel.group.DefaultChannelGroup
dup
aload 1
invokevirtual org.apache.cassandra.transport.Event$Type.toString:()Ljava/lang/String;
getstatic io.netty.util.concurrent.GlobalEventExecutor.INSTANCE:Lio/netty/util/concurrent/GlobalEventExecutor;
invokespecial io.netty.channel.group.DefaultChannelGroup.<init>:(Ljava/lang/String;Lio/netty/util/concurrent/EventExecutor;)V
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 4
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
5 6 1 type Lorg/apache/cassandra/transport/Event$Type;
public void addConnection(io.netty.channel.Channel, org.apache.cassandra.transport.Connection);
descriptor: (Lio/netty/channel/Channel;Lorg/apache/cassandra/transport/Connection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.allChannels:Lio/netty/channel/group/ChannelGroup;
aload 1
invokeinterface io.netty.channel.group.ChannelGroup.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
0 2 1 ch Lio/netty/channel/Channel;
0 2 2 connection Lorg/apache/cassandra/transport/Connection;
MethodParameters:
Name Flags
ch
connection
public void register(org.apache.cassandra.transport.Event$Type, io.netty.channel.Channel);
descriptor: (Lorg/apache/cassandra/transport/Event$Type;Lio/netty/channel/Channel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.groups:Ljava/util/EnumMap;
aload 1
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.netty.channel.group.ChannelGroup
aload 2
invokeinterface io.netty.channel.group.ChannelGroup.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
0 2 1 type Lorg/apache/cassandra/transport/Event$Type;
0 2 2 ch Lio/netty/channel/Channel;
MethodParameters:
Name Flags
type
ch
public void send(org.apache.cassandra.transport.Event);
descriptor: (Lorg/apache/cassandra/transport/Event;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.groups:Ljava/util/EnumMap;
aload 1
getfield org.apache.cassandra.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.netty.channel.group.ChannelGroup
new org.apache.cassandra.transport.messages.EventMessage
dup
aload 1
invokespecial org.apache.cassandra.transport.messages.EventMessage.<init>:(Lorg/apache/cassandra/transport/Event;)V
invokeinterface io.netty.channel.group.ChannelGroup.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/group/ChannelGroupFuture;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
0 2 1 event Lorg/apache/cassandra/transport/Event;
MethodParameters:
Name Flags
event
public void closeAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.allChannels:Lio/netty/channel/group/ChannelGroup;
invokeinterface io.netty.channel.group.ChannelGroup.close:()Lio/netty/channel/group/ChannelGroupFuture;
invokeinterface io.netty.channel.group.ChannelGroupFuture.awaitUninterruptibly:()Lio/netty/channel/group/ChannelGroupFuture;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
public int getConnectedClients();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.allChannels:Lio/netty/channel/group/ChannelGroup;
invokeinterface io.netty.channel.group.ChannelGroup.size:()I
ifeq 1
aload 0
getfield org.apache.cassandra.transport.Server$ConnectionTracker.allChannels:Lio/netty/channel/group/ChannelGroup;
invokeinterface io.netty.channel.group.ChannelGroup.size:()I
iconst_1
isub
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/transport/Server$ConnectionTracker;
}
SourceFile: "Server.java"
NestHost: org.apache.cassandra.transport.Server
InnerClasses:
public abstract Tracker = org.apache.cassandra.transport.Connection$Tracker of org.apache.cassandra.transport.Connection
public final Type = org.apache.cassandra.transport.Event$Type of org.apache.cassandra.transport.Event
public ConnectionTracker = org.apache.cassandra.transport.Server$ConnectionTracker of org.apache.cassandra.transport.Server