target.classes.com.thinkaurelius.thrift.TDisruptorServer.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thrift-server Show documentation
Show all versions of thrift-server Show documentation
Thrift Server implementation backed by LMAX Disruptor.
Shows better throughput/latency characteristics than build-in
THsHa and TThreadedSelector servers.
???? 3{ V ? V ? V ? V ? V ?
[ ?
? ?
? ?
g ?
? ?
g ?
g ?
g ? V ? ? V ? ? ?
? ?
?
? ? ?
?
?
g ? V ? ? ? ?
g ? ? V ? V ? V ?
g ?
? ? V ? ?
? V ? ?
% ? ?
- V
V
0
6
9 ?
-
0
? ?
%
V
V
0
H ?
H
0
%!
0!
0"#
Q ?
?$
0%&'
()*
X+,-. RandomSelectorLoadBalancer InnerClasses/ SelectorLoadBalancer0 InvocationHandler SelectorThread AcceptorThread1 AbstractSelectorThread2 Args logger Lorg/slf4j/Logger; isJNAPresent Z
MBEAN_NAME Ljava/lang/String;
ConstantValue acceptorThreads ;[Lcom/thinkaurelius/thrift/TDisruptorServer$AcceptorThread; selectorThreads ;[Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread; selectorLoadBalancer @Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorLoadBalancer; thriftFactories /Lcom/thinkaurelius/thrift/util/ThriftFactories; useHeapBasedAllocation isStopped 3(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;)V Code LineNumberTable LocalVariableTable i I e Ljava/io/IOException; Ljava/lang/Exception; this +Lcom/thinkaurelius/thrift/TDisruptorServer; args 0Lcom/thinkaurelius/thrift/TDisruptorServer$Args; numCores numAcceptors numSelectors numWorkersPerSelector ringSize mbs Ljavax/management/MBeanServer;
StackMapTable'2 ?3 startThreads ()Z waitForShutdown ()V joinSelector selector :Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread; arr$ len$ i$ Ljava/lang/InterruptedException; s gracefullyShutdownInvokerPool stop acceptor :Lcom/thinkaurelius/thrift/TDisruptorServer$AcceptorThread; q
requestInvoke5 FrameBuffer C(Lorg/apache/thrift/server/AbstractNonblockingServer$FrameBuffer;)Z frameBuffer @Lorg/apache/thrift/server/AbstractNonblockingServer$FrameBuffer; beforeInvoke %(Lcom/thinkaurelius/thrift/Message;)V beforeClose buffer "Lcom/thinkaurelius/thrift/Message; nextPowerOfTwo (I)I v getRingBufferSize ()I getNumberOfSelectors isHeapBasedAllocationUsed (Z)V flag
access$600 .(Lcom/thinkaurelius/thrift/TDisruptorServer;)Z x0
access$700 ()Lorg/slf4j/Logger;
access$602 /(Lcom/thinkaurelius/thrift/TDisruptorServer;Z)Z x1
access$800 m(Lcom/thinkaurelius/thrift/TDisruptorServer;)Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorLoadBalancer;
access$900 \(Lcom/thinkaurelius/thrift/TDisruptorServer;)Lcom/thinkaurelius/thrift/util/ThriftFactories; access$1000 Ljava/lang/NoClassDefFoundError; jna,
SourceFile TDisruptorServer.java x l v w t u i j y l z89:;<