public class org.apache.cassandra.thrift.THsHaDisruptorServer$Factory implements org.apache.cassandra.thrift.TServerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.thrift.THsHaDisruptorServer$Factory
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/thrift/THsHaDisruptorServer$Factory;
public org.apache.thrift.server.TServer buildTServer(org.apache.cassandra.thrift.TServerFactory$Args);
descriptor: (Lorg/apache/cassandra/thrift/TServerFactory$Args;)Lorg/apache/thrift/server/TServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=7, args_size=2
start local 0 start local 1 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getClientEncryptionOptions:()Lorg/apache/cassandra/config/EncryptionOptions$ClientEncryptionOptions;
getfield org.apache.cassandra.config.EncryptionOptions$ClientEncryptionOptions.enabled:Z
ifeq 2
1: new java.lang.RuntimeException
dup
ldc "Client SSL is not supported for non-blocking sockets (hsha). Please remove client ssl from the configuration."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.addr:Ljava/net/InetSocketAddress;
astore 2
start local 2 3: new org.apache.cassandra.thrift.TCustomNonblockingServerSocket
dup
aload 2
aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.keepAlive:Z
aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.sendBufferSize:Ljava/lang/Integer;
aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.recvBufferSize:Ljava/lang/Integer;
invokespecial org.apache.cassandra.thrift.TCustomNonblockingServerSocket.<init>:(Ljava/net/InetSocketAddress;ZLjava/lang/Integer;Ljava/lang/Integer;)V
astore 3
start local 3 4: goto 7
end local 3 5: StackMap locals: org.apache.cassandra.thrift.THsHaDisruptorServer$Factory org.apache.cassandra.thrift.TServerFactory$Args java.net.InetSocketAddress
StackMap stack: org.apache.thrift.transport.TTransportException
astore 4
start local 4 6: new java.lang.RuntimeException
dup
ldc "Unable to create thrift socket to %s:%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aastore
dup
iconst_1
aload 2
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 7: StackMap locals: org.apache.thrift.transport.TNonblockingServerTransport
StackMap stack:
new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcMinThreads:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
8: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcMaxThreads:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
9: ldc 60
10: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
11: new java.util.concurrent.SynchronousQueue
dup
invokespecial java.util.concurrent.SynchronousQueue.<init>:()V
12: new org.apache.cassandra.concurrent.NamedThreadFactory
dup
ldc "RPC-Thread"
invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
ldc "RPC-THREAD-POOL"
13: invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
astore 4
start local 4 14: new com.thinkaurelius.thrift.util.TBinaryProtocol$Factory
dup
iconst_1
iconst_1
invokespecial com.thinkaurelius.thrift.util.TBinaryProtocol$Factory.<init>:(ZZ)V
astore 5
start local 5 15: new com.thinkaurelius.thrift.TDisruptorServer$Args
dup
aload 3
invokespecial com.thinkaurelius.thrift.TDisruptorServer$Args.<init>:(Lorg/apache/thrift/transport/TNonblockingServerTransport;)V
iconst_1
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.useHeapBasedAllocation:(Z)Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
16: aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.inTransportFactory:Lorg/apache/thrift/transport/TTransportFactory;
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.inputTransportFactory:(Lorg/apache/thrift/transport/TTransportFactory;)Lorg/apache/thrift/server/TServer$AbstractServerArgs;
checkcast com.thinkaurelius.thrift.TDisruptorServer$Args
17: aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.outTransportFactory:Lorg/apache/thrift/transport/TTransportFactory;
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.outputTransportFactory:(Lorg/apache/thrift/transport/TTransportFactory;)Lorg/apache/thrift/server/TServer$AbstractServerArgs;
checkcast com.thinkaurelius.thrift.TDisruptorServer$Args
18: aload 5
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.inputProtocolFactory:(Lorg/apache/thrift/protocol/TProtocolFactory;)Lorg/apache/thrift/server/TServer$AbstractServerArgs;
checkcast com.thinkaurelius.thrift.TDisruptorServer$Args
19: aload 5
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.outputProtocolFactory:(Lorg/apache/thrift/protocol/TProtocolFactory;)Lorg/apache/thrift/server/TServer$AbstractServerArgs;
checkcast com.thinkaurelius.thrift.TDisruptorServer$Args
20: aload 1
getfield org.apache.cassandra.thrift.TServerFactory$Args.processor:Lorg/apache/thrift/TProcessor;
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.processor:(Lorg/apache/thrift/TProcessor;)Lorg/apache/thrift/server/TServer$AbstractServerArgs;
checkcast com.thinkaurelius.thrift.TDisruptorServer$Args
21: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftFramedTransportSize:()I
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.maxFrameSizeInBytes:(I)Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
22: aload 4
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.invocationExecutor:(Ljava/util/concurrent/ThreadPoolExecutor;)Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
23: iconst_1
invokevirtual com.thinkaurelius.thrift.TDisruptorServer$Args.alwaysReallocateBuffers:(Z)Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
24: astore 6
start local 6 25: new org.apache.cassandra.thrift.THsHaDisruptorServer
dup
aload 6
invokespecial org.apache.cassandra.thrift.THsHaDisruptorServer.<init>:(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;)V
areturn
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 26 0 this Lorg/apache/cassandra/thrift/THsHaDisruptorServer$Factory;
0 26 1 args Lorg/apache/cassandra/thrift/TServerFactory$Args;
3 26 2 addr Ljava/net/InetSocketAddress;
4 5 3 serverTransport Lorg/apache/thrift/transport/TNonblockingServerTransport;
7 26 3 serverTransport Lorg/apache/thrift/transport/TNonblockingServerTransport;
6 7 4 e Lorg/apache/thrift/transport/TTransportException;
14 26 4 invoker Ljava/util/concurrent/ThreadPoolExecutor;
15 26 5 protocolFactory Lcom/thinkaurelius/thrift/util/TBinaryProtocol$Factory;
25 26 6 serverArgs Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
Exception table:
from to target type
3 4 5 Class org.apache.thrift.transport.TTransportException
MethodParameters:
Name Flags
args
}
SourceFile: "THsHaDisruptorServer.java"
NestHost: org.apache.cassandra.thrift.THsHaDisruptorServer
InnerClasses:
public Args = com.thinkaurelius.thrift.TDisruptorServer$Args of com.thinkaurelius.thrift.TDisruptorServer
public Factory = com.thinkaurelius.thrift.util.TBinaryProtocol$Factory of com.thinkaurelius.thrift.util.TBinaryProtocol
public ClientEncryptionOptions = org.apache.cassandra.config.EncryptionOptions$ClientEncryptionOptions of org.apache.cassandra.config.EncryptionOptions
public Factory = org.apache.cassandra.thrift.THsHaDisruptorServer$Factory of org.apache.cassandra.thrift.THsHaDisruptorServer
public Args = org.apache.cassandra.thrift.TServerFactory$Args of org.apache.cassandra.thrift.TServerFactory
public abstract AbstractServerArgs = org.apache.thrift.server.TServer$AbstractServerArgs of org.apache.thrift.server.TServer