All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.classes.com.thinkaurelius.thrift.TDisruptorServer.class Maven / Gradle / Ivy

Go to download

Thrift Server implementation backed by LMAX Disruptor. Shows better throughput/latency characteristics than build-in THsHa and TThreadedSelector servers.

There is a newer version: 0.3.9
Show newest version
????3?	Y?	Y?	Y?	Y?	Y?
^?
??
??
j?
??
j?
j?
j?	Y??	Y???
??
?
???
?
?
j?	Y????
j??	Y?	Y?	Y?
j?
??	Y?
	Y
%
-		Y

Y
0

6

9?
-
0
??
%
Y
Y
0 !"
H#?$
H%
0&
%'
0'
Y()*
0+,
T?
?-
0./0
123
[4567RandomSelectorLoadBalancerInnerClasses8SelectorLoadBalancer9InvocationHandlerSelectorThreadAcceptorThread:AbstractSelectorThread;ArgsloggerLorg/slf4j/Logger;isJNAPresentZ
MBEAN_NAMELjava/lang/String;
ConstantValueacceptorThreads;[Lcom/thinkaurelius/thrift/TDisruptorServer$AcceptorThread;selectorThreads;[Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread;selectorLoadBalancer@Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorLoadBalancer;thriftFactories/Lcom/thinkaurelius/thrift/util/ThriftFactories;useHeapBasedAllocation	isStopped3(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;)VCodeLineNumberTableLocalVariableTableiIeLjava/io/IOException;Ljava/lang/Exception;this+Lcom/thinkaurelius/thrift/TDisruptorServer;args0Lcom/thinkaurelius/thrift/TDisruptorServer$Args;numCoresnumAcceptorsnumSelectorsnumWorkersPerSelectorringSizembsLjavax/management/MBeanServer;
StackMapTable0;<startThreads()ZwaitForShutdown()VjoinSelectorselector:Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread;arr$len$i$ Ljava/lang/InterruptedException;v!gracefullyShutdownInvokerPoolstopacceptor:Lcom/thinkaurelius/thrift/TDisruptorServer$AcceptorThread;tunregisterMBeannameObjLjavax/management/ObjectName;
requestInvoke>FrameBufferC(Lorg/apache/thrift/server/AbstractNonblockingServer$FrameBuffer;)ZframeBuffer@Lorg/apache/thrift/server/AbstractNonblockingServer$FrameBuffer;beforeInvoke%(Lcom/thinkaurelius/thrift/Message;)VbeforeClosebuffer"Lcom/thinkaurelius/thrift/Message;nextPowerOfTwo(I)IvgetRingBufferSize()IgetNumberOfSelectorsisHeapBasedAllocationUsed(Z)Vflag
access$600.(Lcom/thinkaurelius/thrift/TDisruptorServer;)Zx0
access$700()Lorg/slf4j/Logger;
access$602/(Lcom/thinkaurelius/thrift/TDisruptorServer;Z)Zx1
access$800m(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;jna5
SourceFileTDisruptorServer.java{oyzwxlm|o}ABCDE?FGHI?JGKGLGMNO5com/thinkaurelius/thrift/util/TBinaryProtocol$FactoryFactoryPN"java/lang/IllegalArgumentExceptionjava/lang/StringBuilder}?Please use QRSTU( or it's subclass as protocol factories.VU}WXYnoiOff-heap allocation couldn't be used as JNA is not present in classpath or broken, using on-heap instead.Z[W\]-com/thinkaurelius/thrift/util/ThriftFactories^_`_abcG}d8com/thinkaurelius/thrift/TDisruptorServer$AcceptorThreadstThrift-Acceptor_Qefg7org/apache/thrift/transport/TNonblockingServerTransport}hjava/io/IOExceptionjava/lang/RuntimeException!Could not create acceptor threads}i8com/thinkaurelius/thrift/TDisruptorServer$SelectorThreaduvThrift-Selector_??}j!Could not create selector threadsDcom/thinkaurelius/thrift/TDisruptorServer$RandomSelectorLoadBalancer}klmnjavax/management/ObjectName5com.thinkaurelius.thrift.server:type=TDisruptorServer<opjava/lang/Exception}qr?%Thrift Selector thread {} is started.stuv%Thrift Acceptor thread {} is started.????w?java/lang/InterruptedExceptionInterruption: xUyWz?{?|???}~?|?'java/lang/UnsupportedOperationException????DOff-Heap allocation method could not be used because JNA is missing.)com/thinkaurelius/thrift/TDisruptorServer???com/sun/jna/Pointer}?java/lang/NoClassDefFoundError+org/apache/thrift/server/TNonblockingServer.com/thinkaurelius/thrift/TDisruptorServerMBean>com/thinkaurelius/thrift/TDisruptorServer$SelectorLoadBalancer;com/thinkaurelius/thrift/TDisruptorServer$InvocationHandler@com/thinkaurelius/thrift/TDisruptorServer$AbstractSelectorThread.com/thinkaurelius/thrift/TDisruptorServer$Argsjavax/management/MBeanServer?>org/apache/thrift/server/AbstractNonblockingServer$FrameBuffer?AbstractNonblockingServerArgsU(Lorg/apache/thrift/server/AbstractNonblockingServer$AbstractNonblockingServerArgs;)Vjava/lang/Runtime
getRuntime()Ljava/lang/Runtime;availableProcessors
access$000E(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;)Ljava/lang/Integer;java/lang/IntegerintValue
access$100
access$200
access$300inputProtocolFactory_-Lorg/apache/thrift/protocol/TProtocolFactory;-com/thinkaurelius/thrift/util/TBinaryProtocoloutputProtocolFactory_append-(Ljava/lang/String;)Ljava/lang/StringBuilder;java/lang/ClassgetCanonicalName()Ljava/lang/String;toString(Ljava/lang/String;)V
access$4003(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;)Zorg/slf4j/Loggerwarn
access$4024(Lcom/thinkaurelius/thrift/TDisruptorServer$Args;Z)ZinputTransportFactory_/Lorg/apache/thrift/transport/TTransportFactory;outputTransportFactory_processorFactory_%Lorg/apache/thrift/TProcessorFactory;
access$500?(Lorg/apache/thrift/transport/TTransportFactory;Lorg/apache/thrift/transport/TTransportFactory;Lorg/apache/thrift/protocol/TProtocolFactory;Lorg/apache/thrift/protocol/TProtocolFactory;Lorg/apache/thrift/TProcessorFactory;I)V(I)Ljava/lang/StringBuilder;serverTransport_.Lorg/apache/thrift/transport/TServerTransport;y(Lcom/thinkaurelius/thrift/TDisruptorServer;Ljava/lang/String;Lorg/apache/thrift/transport/TNonblockingServerTransport;)V*(Ljava/lang/String;Ljava/lang/Throwable;)VB(Lcom/thinkaurelius/thrift/TDisruptorServer;Ljava/lang/String;II)V>([Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread;)V&java/lang/management/ManagementFactorygetPlatformMBeanServer ()Ljavax/management/MBeanServer;
registerMBeanR(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;(Ljava/lang/Throwable;)VstartvalueOf(I)Ljava/lang/Integer;debug'(Ljava/lang/String;Ljava/lang/Object;)Vjoin
getMessageerrorprintStackTraceshutdownwakeupSelectorisRegistered (Ljavax/management/ObjectName;)Z (Ljavax/management/ObjectName;)VnumberOfLeadingZerosorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;(J)V2org/apache/thrift/server/AbstractNonblockingServerPorg/apache/thrift/server/AbstractNonblockingServer$AbstractNonblockingServerArgs!Y^_	lmnopqr:stuvwxyzB{oB|o}~\		?*+???=+?	??
+?	?
>+???
+??
6+???
+??
6+?
?	?
+?
?
6*???
*???(?Y?Y????????+??????+?W*+??*?Y*? *?!*?*?*?"+?#?
?$?*?%?&6?3*?&?%Y*?Y?'??(?*?)?*?+S???ͧ:?-Y.?/?*?0?16?3*?1?0Y*?Y?2??(??3?4S???̧:?-Y5?/?*?6Y*?1?7??8:*?9Y:?;?<W?:?-Y?>???"%,3vy,???=??"????3?G?]?q??????????????????"?%?'?3?<?F?p?v?y?{?????????????????
?6??'???7??{???
??????????????3???Gv??]`???"???[???F?F?F?F?$?8?5B?
??6B?
?(???????W*?<*?1?? *?12???@?A?B????<*?&?? *?&2?C?D?A?B??????*
????'?-?8?A?O?U?? &??/&??W?????%??%??;	*?E*?F??????	?????F*?1L+?=>?+2:?G????&L??Y?I?+?J???K+?L?"H?"????"?#?A?E??>???v??
??#"??F????
??B?"??? *?1L+?=>?+2:?M??????4???v??
?? ???
?
????H*?*?&L+?=>?+2:?N????*?1L+?=>?+2:?O????*?P??&	

$8=CG?\	??
?t
????8??)?v,??.??H???????	?????-?8L?9Y:?;M+,?Q?
+,?R?
L?-Y+?>??"=?"""#!,#?*????#	??-???B?	|??&*?1L+?=>?+2:?S????????(*+($.?4
???v??
??&????
????<?TY?U??4?????????5??E?????
??6 d?Vdx??I?????4
*?12?W??Q?
????0*?1???W?????/*???]???{?c???
?YX??*???c
dfg????o???/*???-????????-??;*Z???-????o??/*???-?????/*???-?????/*???-??????Y?Z?;?[Y	?\W;?L??]?"/	59:?<AB????o?????aR
6Y`	bYc	dYe0Yf%YghYijYk	?=???	?=@	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy