public class org.apache.cassandra.thrift.TCustomNonblockingServerSocket extends org.apache.thrift.transport.TNonblockingServerSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.thrift.TCustomNonblockingServerSocket
super_class: org.apache.thrift.transport.TNonblockingServerSocket
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final boolean keepAlive;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer sendBufferSize;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer recvBufferSize;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/thrift/TCustomNonblockingServerSocket;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.thrift.TCustomNonblockingServerSocket.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.net.InetSocketAddress, boolean, java.lang.Integer, java.lang.Integer);
descriptor: (Ljava/net/InetSocketAddress;ZLjava/lang/Integer;Ljava/lang/Integer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial org.apache.thrift.transport.TNonblockingServerSocket.<init>:(Ljava/net/InetSocketAddress;)V
1: aload 0
iload 2
putfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.keepAlive:Z
2: aload 0
aload 3
putfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.sendBufferSize:Ljava/lang/Integer;
3: aload 0
aload 4
putfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.recvBufferSize:Ljava/lang/Integer;
4: return
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/thrift/TCustomNonblockingServerSocket;
0 5 1 bindAddr Ljava/net/InetSocketAddress;
0 5 2 keepAlive Z
0 5 3 sendBufferSize Ljava/lang/Integer;
0 5 4 recvBufferSize Ljava/lang/Integer;
Exceptions:
throws org.apache.thrift.transport.TTransportException
MethodParameters:
Name Flags
bindAddr
keepAlive
sendBufferSize
recvBufferSize
protected org.apache.thrift.transport.TNonblockingSocket acceptImpl();
descriptor: ()Lorg/apache/thrift/transport/TNonblockingSocket;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokespecial org.apache.thrift.transport.TNonblockingServerSocket.acceptImpl:()Lorg/apache/thrift/transport/TNonblockingSocket;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.thrift.transport.TNonblockingSocket.getSocketChannel:()Ljava/nio/channels/SocketChannel;
ifnonnull 3
2: StackMap locals: org.apache.thrift.transport.TNonblockingSocket
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.thrift.transport.TNonblockingSocket.getSocketChannel:()Ljava/nio/channels/SocketChannel;
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
astore 2
start local 2 4: aload 2
aload 0
getfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.keepAlive:Z
invokevirtual java.net.Socket.setKeepAlive:(Z)V
5: goto 8
6: StackMap locals: org.apache.cassandra.thrift.TCustomNonblockingServerSocket org.apache.thrift.transport.TNonblockingSocket java.net.Socket
StackMap stack: java.net.SocketException
astore 3
start local 3 7: getstatic org.apache.cassandra.thrift.TCustomNonblockingServerSocket.logger:Lorg/slf4j/Logger;
ldc "Failed to set keep-alive on Thrift socket."
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.sendBufferSize:Ljava/lang/Integer;
ifnull 13
9: aload 2
aload 0
getfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.sendBufferSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.net.Socket.setSendBufferSize:(I)V
10: goto 13
11: StackMap locals:
StackMap stack: java.net.SocketException
astore 3
start local 3 12: getstatic org.apache.cassandra.thrift.TCustomNonblockingServerSocket.logger:Lorg/slf4j/Logger;
ldc "Failed to set send buffer size on Thrift socket."
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.recvBufferSize:Ljava/lang/Integer;
ifnull 18
14: aload 2
aload 0
getfield org.apache.cassandra.thrift.TCustomNonblockingServerSocket.recvBufferSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.net.Socket.setReceiveBufferSize:(I)V
15: goto 18
16: StackMap locals:
StackMap stack: java.net.SocketException
astore 3
start local 3 17: getstatic org.apache.cassandra.thrift.TCustomNonblockingServerSocket.logger:Lorg/slf4j/Logger;
ldc "Failed to set receive buffer size on Thrift socket."
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/thrift/TCustomNonblockingServerSocket;
1 19 1 tsocket Lorg/apache/thrift/transport/TNonblockingSocket;
4 19 2 socket Ljava/net/Socket;
7 8 3 se Ljava/net/SocketException;
12 13 3 se Ljava/net/SocketException;
17 18 3 se Ljava/net/SocketException;
Exception table:
from to target type
4 5 6 Class java.net.SocketException
9 10 11 Class java.net.SocketException
14 15 16 Class java.net.SocketException
Exceptions:
throws org.apache.thrift.transport.TTransportException
protected org.apache.thrift.transport.TTransport acceptImpl();
descriptor: ()Lorg/apache/thrift/transport/TTransport;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.thrift.TCustomNonblockingServerSocket.acceptImpl:()Lorg/apache/thrift/transport/TNonblockingSocket;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.apache.thrift.transport.TTransportException
}
SourceFile: "TCustomNonblockingServerSocket.java"