target.classes.com.thinkaurelius.thrift.AbstractMultiRequestTest.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 z
D
E
F
G
H
I J
K L
K M
N O P
Q R
D S
Q T
U V W
X V Y Z [ InnerClasses REQUESTS I
ConstantValue ? ()V Code LineNumberTable LocalVariableTable this 3Lcom/thinkaurelius/thrift/AbstractMultiRequestTest; multiRequestTest i client ] Client 2Lcom/thinkaurelius/thrift/test/TestService$Client; transport (Lorg/apache/thrift/transport/TTransport;
StackMapTable ^ ] _
Exceptions ` RuntimeVisibleAnnotations Lorg/junit/Test; concurrentMultiRequestTest id +Ljava/util/concurrent/atomic/AtomicInteger; lock !Ljava/util/concurrent/locks/Lock; latch %Ljava/util/concurrent/CountDownLatch; service &Ljava/util/concurrent/ExecutorService; Z a P b S
SourceFile AbstractMultiRequestTest.java c d e f g h i j ^ k l m n o h p q r )java/util/concurrent/atomic/AtomicInteger s (java/util/concurrent/locks/ReentrantLock #java/util/concurrent/CountDownLatch 3com/thinkaurelius/thrift/AbstractMultiRequestTest$1 t a u v w x 1com/thinkaurelius/thrift/AbstractMultiRequestTest .com/thinkaurelius/thrift/AbstractDisruptorTest y 0com/thinkaurelius/thrift/test/TestService$Client &org/apache/thrift/transport/TTransport java/lang/Throwable java/lang/Exception $java/util/concurrent/ExecutorService java/util/concurrent/locks/Lock getNewTransport *()Lorg/apache/thrift/transport/TTransport; getNewClient \(Lorg/apache/thrift/transport/TTransport;)Lcom/thinkaurelius/thrift/test/TestService$Client; getRandomArgument ()I invokeRequests 8(Lcom/thinkaurelius/thrift/test/TestService$Client;III)V close java/lang/Runtime
getRuntime ()Ljava/lang/Runtime; availableProcessors java/util/concurrent/Executors newFixedThreadPool )(I)Ljava/util/concurrent/ExecutorService; (I)V ?(Lcom/thinkaurelius/thrift/AbstractMultiRequestTest;Ljava/util/concurrent/locks/Lock;Lcom/thinkaurelius/thrift/test/TestService$Client;Ljava/util/concurrent/atomic/AtomicInteger;Ljava/util/concurrent/CountDownLatch;)V submit >(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; await shutdown )com/thinkaurelius/thrift/test/TestService! / *? ? " ! " # $ ? 7*? L*+? M>?? *,? ? ? ????+? ? :+? ?? &