class org.apache.cassandra.thrift.ThriftServer$ThriftServerThread extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.thrift.ThriftServer$ThriftServerThread
super_class: java.lang.Thread
{
private final org.apache.thrift.server.TServer serverEngine;
descriptor: Lorg/apache/thrift/server/TServer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.net.InetAddress, int, int, org.apache.thrift.TProcessor, org.apache.thrift.transport.TTransportFactory);
descriptor: (Ljava/net/InetAddress;IILorg/apache/thrift/TProcessor;Lorg/apache/thrift/transport/TTransportFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Thread.<init>:()V
1: getstatic org.apache.cassandra.thrift.ThriftServer.logger:Lorg/slf4j/Logger;
ldc "Binding thrift service to {}:{}"
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: new org.apache.cassandra.thrift.TServerFactory$Args
dup
invokespecial org.apache.cassandra.thrift.TServerFactory$Args.<init>:()V
astore 6
start local 6 3: aload 6
new org.apache.thrift.protocol.TBinaryProtocol$Factory
dup
iconst_1
iconst_1
invokespecial org.apache.thrift.protocol.TBinaryProtocol$Factory.<init>:(ZZ)V
putfield org.apache.cassandra.thrift.TServerFactory$Args.tProtocolFactory:Lorg/apache/thrift/protocol/TProtocolFactory;
4: aload 6
new java.net.InetSocketAddress
dup
aload 1
iload 2
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.apache.cassandra.thrift.TServerFactory$Args.addr:Ljava/net/InetSocketAddress;
5: aload 6
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield org.apache.cassandra.thrift.TServerFactory$Args.listenBacklog:Ljava/lang/Integer;
6: aload 6
aload 4
putfield org.apache.cassandra.thrift.TServerFactory$Args.processor:Lorg/apache/thrift/TProcessor;
7: aload 6
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcKeepAlive:()Z
putfield org.apache.cassandra.thrift.TServerFactory$Args.keepAlive:Z
8: aload 6
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcSendBufferSize:()Ljava/lang/Integer;
putfield org.apache.cassandra.thrift.TServerFactory$Args.sendBufferSize:Ljava/lang/Integer;
9: aload 6
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcRecvBufferSize:()Ljava/lang/Integer;
putfield org.apache.cassandra.thrift.TServerFactory$Args.recvBufferSize:Ljava/lang/Integer;
10: aload 6
aload 5
putfield org.apache.cassandra.thrift.TServerFactory$Args.inTransportFactory:Lorg/apache/thrift/transport/TTransportFactory;
11: aload 6
aload 5
putfield org.apache.cassandra.thrift.TServerFactory$Args.outTransportFactory:Lorg/apache/thrift/transport/TTransportFactory;
12: aload 0
new org.apache.cassandra.thrift.TServerCustomFactory
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcServerType:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.TServerCustomFactory.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual org.apache.cassandra.thrift.TServerCustomFactory.buildTServer:(Lorg/apache/cassandra/thrift/TServerFactory$Args;)Lorg/apache/thrift/server/TServer;
putfield org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.serverEngine:Lorg/apache/thrift/server/TServer;
13: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
0 14 1 listenAddr Ljava/net/InetAddress;
0 14 2 listenPort I
0 14 3 listenBacklog I
0 14 4 processor Lorg/apache/thrift/TProcessor;
0 14 5 transportFactory Lorg/apache/thrift/transport/TTransportFactory;
3 14 6 args Lorg/apache/cassandra/thrift/TServerFactory$Args;
MethodParameters:
Name Flags
listenAddr
listenPort
listenBacklog
processor
transportFactory
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.thrift.ThriftServer.logger:Lorg/slf4j/Logger;
ldc "Listening for thrift clients..."
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.serverEngine:Lorg/apache/thrift/server/TServer;
invokevirtual org.apache.thrift.server.TServer.serve:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
public void stopServer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.thrift.ThriftServer.logger:Lorg/slf4j/Logger;
ldc "Stop listening to thrift clients"
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.serverEngine:Lorg/apache/thrift/server/TServer;
invokevirtual org.apache.thrift.server.TServer.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/ThriftServer$ThriftServerThread;
}
SourceFile: "ThriftServer.java"
NestHost: org.apache.cassandra.thrift.ThriftServer
InnerClasses:
public Args = org.apache.cassandra.thrift.TServerFactory$Args of org.apache.cassandra.thrift.TServerFactory
private ThriftServerThread = org.apache.cassandra.thrift.ThriftServer$ThriftServerThread of org.apache.cassandra.thrift.ThriftServer
public Factory = org.apache.thrift.protocol.TBinaryProtocol$Factory of org.apache.thrift.protocol.TBinaryProtocol