public class org.apache.cassandra.thrift.ThriftServer implements org.apache.cassandra.service.CassandraDaemon$Server
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.thrift.ThriftServer
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int port;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int backlog;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private volatile org.apache.cassandra.thrift.ThriftServer$ThriftServerThread server;
descriptor: Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/thrift/ThriftServer;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.thrift.ThriftServer.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.net.InetAddress, int, int);
descriptor: (Ljava/net/InetAddress;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.thrift.ThriftServer.address:Ljava/net/InetAddress;
2: aload 0
iload 2
putfield org.apache.cassandra.thrift.ThriftServer.port:I
3: aload 0
iload 3
putfield org.apache.cassandra.thrift.ThriftServer.backlog:I
4: return
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/thrift/ThriftServer;
0 5 1 address Ljava/net/InetAddress;
0 5 2 port I
0 5 3 backlog I
MethodParameters:
Name Flags
address
port
backlog
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
ifnonnull 4
1: aload 0
invokevirtual org.apache.cassandra.thrift.ThriftServer.getCassandraServer:()Lorg/apache/cassandra/thrift/CassandraServer;
astore 1
start local 1 2: aload 0
new org.apache.cassandra.thrift.ThriftServer$ThriftServerThread
dup
aload 0
getfield org.apache.cassandra.thrift.ThriftServer.address:Ljava/net/InetAddress;
aload 0
getfield org.apache.cassandra.thrift.ThriftServer.port:I
aload 0
getfield org.apache.cassandra.thrift.ThriftServer.backlog:I
aload 0
aload 1
invokevirtual org.apache.cassandra.thrift.ThriftServer.getProcessor:(Lorg/apache/cassandra/thrift/CassandraServer;)Lorg/apache/thrift/TProcessor;
aload 0
invokevirtual org.apache.cassandra.thrift.ThriftServer.getTransportFactory:()Lorg/apache/thrift/transport/TTransportFactory;
invokespecial org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>:(Ljava/net/InetAddress;IILorg/apache/thrift/TProcessor;Lorg/apache/thrift/transport/TTransportFactory;)V
putfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
3: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
invokevirtual org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.start:()V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/ThriftServer;
2 4 1 iface Lorg/apache/cassandra/thrift/CassandraServer;
public synchronized void stop();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
ifnull 7
1: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
invokevirtual org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.stopServer:()V
2: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
invokevirtual org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.join:()V
3: goto 6
4: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 1
start local 1 5: getstatic org.apache.cassandra.thrift.ThriftServer.logger:Lorg/slf4j/Logger;
ldc "Interrupted while waiting thrift server to stop"
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/thrift/ThriftServer;
5 6 1 e Ljava/lang/InterruptedException;
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.thrift.ThriftServer.server:Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/ThriftServer;
protected org.apache.cassandra.thrift.CassandraServer getCassandraServer();
descriptor: ()Lorg/apache/cassandra/thrift/CassandraServer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.thrift.CassandraServer
dup
invokespecial org.apache.cassandra.thrift.CassandraServer.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/ThriftServer;
protected org.apache.thrift.TProcessor getProcessor(org.apache.cassandra.thrift.CassandraServer);
descriptor: (Lorg/apache/cassandra/thrift/CassandraServer;)Lorg/apache/thrift/TProcessor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.thrift.Cassandra$Processor
dup
aload 1
invokespecial org.apache.cassandra.thrift.Cassandra$Processor.<init>:(Lorg/apache/cassandra/thrift/Cassandra$Iface;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/ThriftServer;
0 1 1 server Lorg/apache/cassandra/thrift/CassandraServer;
MethodParameters:
Name Flags
server
protected org.apache.thrift.transport.TTransportFactory getTransportFactory();
descriptor: ()Lorg/apache/thrift/transport/TTransportFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftFramedTransportSize:()I
istore 1
start local 1 1: new org.apache.thrift.transport.TFramedTransport$Factory
dup
iload 1
invokespecial org.apache.thrift.transport.TFramedTransport$Factory.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/ThriftServer;
1 2 1 tFramedTransportSize I
}
SourceFile: "ThriftServer.java"
NestMembers:
org.apache.cassandra.thrift.ThriftServer$ThriftServerThread org.apache.cassandra.thrift.ThriftServer$ThriftServerType
InnerClasses:
public abstract Server = org.apache.cassandra.service.CassandraDaemon$Server of org.apache.cassandra.service.CassandraDaemon
public abstract Iface = org.apache.cassandra.thrift.Cassandra$Iface of org.apache.cassandra.thrift.Cassandra
public Processor = org.apache.cassandra.thrift.Cassandra$Processor of org.apache.cassandra.thrift.Cassandra
private ThriftServerThread = org.apache.cassandra.thrift.ThriftServer$ThriftServerThread of org.apache.cassandra.thrift.ThriftServer
public final ThriftServerType = org.apache.cassandra.thrift.ThriftServer$ThriftServerType of org.apache.cassandra.thrift.ThriftServer
public Factory = org.apache.thrift.transport.TFramedTransport$Factory of org.apache.thrift.transport.TFramedTransport