target.classes.com.thinkaurelius.thrift.AbstractMultiConnectionTest.class Maven / Gradle / Ivy
???? 3 ?
N
O P
O Q
R S T
N U
V W
V
X Y Z [
\ ] ^
_ ] ` Y a b
c d
N e
f
g h
i j k
l
m n o InnerClasses CONNECTIONS I
ConstantValue ? ()V Code LineNumberTable LocalVariableTable this 6Lcom/thinkaurelius/thrift/AbstractMultiConnectionTest; multipleConnectionsTest transport (Lorg/apache/thrift/transport/TTransport; i service &Ljava/util/concurrent/ExecutorService;
transports Ljava/util/List; ids +Ljava/util/concurrent/atomic/AtomicInteger; latch %Ljava/util/concurrent/CountDownLatch; LocalVariableTypeTable :Ljava/util/List;
StackMapTable n p q U W
Exceptions r RuntimeVisibleAnnotations Lorg/junit/Test; producerConsumerTest queue 'Ljava/util/concurrent/SynchronousQueue; Work ^Ljava/util/concurrent/SynchronousQueue; d
SourceFile AbstractMultiConnectionTest.java ' ( s t u v w x y z java/util/ArrayList )java/util/concurrent/atomic/AtomicInteger ' { #java/util/concurrent/CountDownLatch | } q ~ 6com/thinkaurelius/thrift/AbstractMultiConnectionTest$1 ' ? p ? ? ? ( ? ( ? ? &org/apache/thrift/transport/TTransport ? ( %java/util/concurrent/SynchronousQueue 6com/thinkaurelius/thrift/AbstractMultiConnectionTest$2 ' ? ? ( 3com/thinkaurelius/thrift/AbstractDisruptorTest$Work ? w ? ? ? ' ? ? ? 4com/thinkaurelius/thrift/AbstractMultiConnectionTest .com/thinkaurelius/thrift/AbstractDisruptorTest $java/util/concurrent/ExecutorService java/util/List java/lang/Exception java/lang/Runtime
getRuntime ()Ljava/lang/Runtime; availableProcessors ()I java/util/concurrent/Executors newFixedThreadPool )(I)Ljava/util/concurrent/ExecutorService; (I)V getNewTransport *()Lorg/apache/thrift/transport/TTransport; add (Ljava/lang/Object;)Z ?(Lcom/thinkaurelius/thrift/AbstractMultiConnectionTest;Ljava/util/concurrent/atomic/AtomicInteger;Lorg/apache/thrift/transport/TTransport;Ljava/util/concurrent/CountDownLatch;)V submit >(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; await shutdown get (I)Ljava/lang/Object; close ?(Lcom/thinkaurelius/thrift/AbstractMultiConnectionTest;Ljava/util/concurrent/SynchronousQueue;Ljava/util/concurrent/ExecutorService;)V start getRandomArgument +com/thinkaurelius/thrift/test/OperationType ADD -Lcom/thinkaurelius/thrift/test/OperationType; ?(Lcom/thinkaurelius/thrift/AbstractDisruptorTest;Ljava/util/concurrent/CountDownLatch;IIILcom/thinkaurelius/thrift/test/OperationType;)V put (Ljava/lang/Object;)V! # $ % &