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{	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/SelectorLoadBalancer0InvocationHandlerSelectorThreadAcceptorThread1AbstractSelectorThread2ArgsloggerLorg/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;
StackMapTable'2?3startThreads()ZwaitForShutdown()VjoinSelectorselector:Lcom/thinkaurelius/thrift/TDisruptorServer$SelectorThread;arr$len$i$ Ljava/lang/InterruptedException;sgracefullyShutdownInvokerPoolstopacceptor:Lcom/thinkaurelius/thrift/TDisruptorServer$AcceptorThread;q
requestInvoke5FrameBufferC(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;jna,
SourceFileTDisruptorServer.javaxlvwtuijylz89:;<?=>?@?A>B>C>DEF5com/thinkaurelius/thrift/util/TBinaryProtocol$FactoryFactoryGE"java/lang/IllegalArgumentExceptionjava/lang/StringBuilderz?Please use HIJKL( or it's subclass as protocol factories.MLzNOPkliOff-heap allocation couldn't be used as JNA is not present in classpath or broken, using on-heap instead.QRNST-com/thinkaurelius/thrift/util/ThriftFactoriesUVWVXYZ>z[8com/thinkaurelius/thrift/TDisruptorServer$AcceptorThreadpqThrift-Acceptor_H\]^7org/apache/thrift/transport/TNonblockingServerTransportz_java/io/IOExceptionjava/lang/RuntimeException!Could not create acceptor threadsz`8com/thinkaurelius/thrift/TDisruptorServer$SelectorThreadrsThrift-Selector_??za!Could not create selector threadsDcom/thinkaurelius/thrift/TDisruptorServer$RandomSelectorLoadBalancerzbcdejavax/management/ObjectName5com.thinkaurelius.thrift.server:type=TDisruptorServer3fgjava/lang/Exceptionzhi?%Thrift Selector thread {} is started.jklm%Thrift Acceptor thread {} is started.????n?java/lang/InterruptedExceptionInterruption: oLpNq?r?s?y?'java/lang/UnsupportedOperationExceptiont???DOff-Heap allocation method could not be used because JNA is missing.)com/thinkaurelius/thrift/TDisruptorServeruvwcom/sun/jna/Pointerzxjava/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/MBeanServery>org/apache/thrift/server/AbstractNonblockingServer$FrameBufferzAbstractNonblockingServerArgsU(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
getMessageerrorprintStackTraceshutdownwakeupSelectornumberOfLeadingZerosorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;(J)V2org/apache/thrift/server/AbstractNonblockingServerPorg/apache/thrift/server/AbstractNonblockingServer$AbstractNonblockingServerArgs!V[\	ijklmno:pqrstuvwBxlBylz{|\		?*+???=+?	??
+?	?
>+???
+??
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~>???s??
??#"??F????
??B?"??|? *?1L+?=>?+2:?M????}~4???s??
?? ???
?
????|?D*?*?&L+?=>?+2:?N????*?1L+?=>?+2:?O????}"

$8=C~\	??
?q
????8??)?s,??.??D???????	??y?|?&*?1L+?=>?+2:?P???????}$~4
???s??
??&????
????|<?QY?R?}#~????????|5?}4~????
??|6 d?Sdx?}8~????|4
*?12?T?}@~
????|0*?1??}F~????|/*??}L~??x?|c???
?YU??*??}R
SUV~???l???|/*??}.~????|??}.??|;*Z??}.~???l??|/*??}.~????|/*??}.~????|/*??}.~????|?V?W?;?XY	?YW;?L??Z}"0	6:;@=BC~???l?????^R
6V]	_V`	aVb0Vc%VdeVfgVh	?4???	647	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy