target.classes.com.thinkaurelius.thrift.AbstractDisruptorTest$Work.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 ? F
G H I J K L
M N
M O
M P
3 Q R S
T U
V W
X Y Z [
V \
X ]
V ^
M _ `
G
a b
c d
e f g h latch %Ljava/util/concurrent/CountDownLatch; id I arg1 arg2 op -Lcom/thinkaurelius/thrift/test/OperationType; this$0 0Lcom/thinkaurelius/thrift/AbstractDisruptorTest; ?(Lcom/thinkaurelius/thrift/AbstractDisruptorTest;Ljava/util/concurrent/CountDownLatch;IIILcom/thinkaurelius/thrift/test/OperationType;)V Code LineNumberTable LocalVariableTable this Work InnerClasses 5Lcom/thinkaurelius/thrift/AbstractDisruptorTest$Work; call )()Lcom/thinkaurelius/thrift/test/Request; client j Client 2Lcom/thinkaurelius/thrift/test/TestService$Client; res (Lcom/thinkaurelius/thrift/test/Response; transport (Lorg/apache/thrift/transport/TTransport;
StackMapTable k j l m
Exceptions n ()Ljava/lang/Object; Signature ZLjava/lang/Object;Ljava/util/concurrent/Callable;
SourceFile AbstractDisruptorTest.java % & ' o ! " # $ p q r s t u v w x y { | } ~ l ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/IllegalStateException k ? o ? ? o 0 1 3com/thinkaurelius/thrift/AbstractDisruptorTest$Work java/lang/Object java/util/concurrent/Callable ? 0com/thinkaurelius/thrift/test/TestService$Client &org/apache/thrift/transport/TTransport &com/thinkaurelius/thrift/test/Response java/lang/Throwable java/lang/Exception ()V .com/thinkaurelius/thrift/AbstractDisruptorTest getNewTransport *()Lorg/apache/thrift/transport/TTransport; getNewClient \(Lorg/apache/thrift/transport/TTransport;)Lcom/thinkaurelius/thrift/test/TestService$Client;
access$100 Y(IIILcom/thinkaurelius/thrift/test/OperationType;)Lcom/thinkaurelius/thrift/test/Request; invoke Q(Lcom/thinkaurelius/thrift/test/Request;)Lcom/thinkaurelius/thrift/test/Response; 0com/thinkaurelius/thrift/AbstractDisruptorTest$2 6$SwitchMap$com$thinkaurelius$thrift$test$OperationType [I +com/thinkaurelius/thrift/test/OperationType ordinal ()I getId org/junit/Assert assertEquals (JJ)V %com/thinkaurelius/thrift/test/ArgType INT 'Lcom/thinkaurelius/thrift/test/ArgType;
getResType )()Lcom/thinkaurelius/thrift/test/ArgType; '(Ljava/lang/Object;Ljava/lang/Object;)V bufferForResult ()Ljava/nio/ByteBuffer; toInteger (Ljava/nio/ByteBuffer;)I close #java/util/concurrent/CountDownLatch countDown )com/thinkaurelius/thrift/test/TestService ! ! " # $ % &