target.classes.com.thinkaurelius.thrift.util.mem.Buffer.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
Q R
S T
S U
V
W X
W Y
W Z
W [
W \
W ]
W ^ _
`
a b
W c
W d
e f
a g h i OnHeapBuffer InnerClasses
OffHeapBuffer buffer Ljava/nio/ByteBuffer; ()V Code LineNumberTable LocalVariableTable this *Lcom/thinkaurelius/thrift/util/mem/Buffer; allocate .(IZ)Lcom/thinkaurelius/thrift/util/mem/Buffer; size I onHeapAllocation Z
StackMapTable h setBuffer (Ljava/nio/ByteBuffer;)V newBuffer ,(Ljava/nio/ByteBuffer;Ljava/nio/ByteOrder;)V order Ljava/nio/ByteOrder; clear getInt (I)I atIndex get (I)B index put (IB)V value B remaining ()I
reallocate (I)V free getInputTransport *()Lorg/apache/thrift/transport/TTransport; readFrom 6(Lorg/apache/thrift/transport/TNonblockingTransport;)I transport 3Lorg/apache/thrift/transport/TNonblockingTransport;
Exceptions j writeTo 8(Lorg/apache/thrift/transport/TNonblockingTransport;II)I start count dup
SourceFile Buffer.java 5com/thinkaurelius/thrift/util/mem/Buffer$OnHeapBuffer @ 6com/thinkaurelius/thrift/util/mem/Buffer$OffHeapBuffer , - k 0 l 2 m 3 4 6 7 9 n = > o > 7com/thinkaurelius/thrift/util/mem/TMemoryInputTransport - p q r s t u v w x v y r (com/thinkaurelius/thrift/util/mem/Buffer java/lang/Object java/io/IOException java/nio/ByteBuffer +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; ()Ljava/nio/Buffer; (IB)Ljava/nio/ByteBuffer; capacity 1org/apache/thrift/transport/TNonblockingTransport read (Ljava/nio/ByteBuffer;)I duplicate ()Ljava/nio/ByteBuffer; position (I)Ljava/nio/Buffer; java/nio/Buffer limit write! 3 *? ?
? ! " # $ % Y ? ? Y? ? ? Y? ? ! &