
com.groupbyinc.flux.transport.netty4.ESLoggingHandler.class Maven / Gradle / Ivy
???? 4 5com/groupbyinc/flux/transport/netty4/ESLoggingHandler ?com/groupbyinc/flux/common/netty/handler/logging/LoggingHandler ESLoggingHandler.java MESSAGE_LENGTH_OFFSET I REQUEST_ID_OFFSET
STATUS_OFFSET VERSION_ID_OFFSET
ACTION_OFFSET ()V 9com/groupbyinc/flux/common/netty/handler/logging/LogLevel TRACE ;Lcom/groupbyinc/flux/common/netty/handler/logging/LogLevel; >(Lcom/groupbyinc/flux/common/netty/handler/logging/LogLevel;)V
this 7Lcom/groupbyinc/flux/transport/netty4/ESLoggingHandler; format x(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; java/lang/Exception /com/groupbyinc/flux/common/netty/buffer/ByteBuf " ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/String;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Ljava/lang/String; $
% logger GLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; ' ( ) 0an exception occurred formatting a trace message + Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger - trace *(Ljava/lang/String;Ljava/lang/Throwable;)V / 0 . 1
3 e Ljava/lang/Exception; ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; eventName Ljava/lang/String; arg Ljava/lang/Object; java/io/IOException = java/lang/Throwable ?
readableBytes ()I A B
# C java/lang/StringBuilder E
F G >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext I channel 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; K L J M java/lang/Object O toString ()Ljava/lang/String; Q R
P S append -(Ljava/lang/String;)Ljava/lang/StringBuilder; U V
F W readerIndex Y B
# Z getByte (I)B \ ]
# ^ getInt (I)I ` a
# b [ping] d (C)Ljava/lang/StringBuilder; U f
F g : i (I)Ljava/lang/StringBuilder; U k
F l
F S getLong (I)J o p
# q -com/groupbyinc/flux/transport/TransportStatus s isRequest (B)Z u v
t w request y java/lang/String { response } com/groupbyinc/flux/Version fromId (I)Lcom/groupbyinc/flux/Version; ? ?
? ?
? S
[length: ? , request id: ? (J)Ljava/lang/StringBuilder; U ?
F ? , type: ? , version: ? slice 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ? ?
# ? java/lang/Byte ? valueOf (B)Ljava/lang/Byte; ? ?
? ? in v(Ljava/lang/Byte;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/io/stream/StreamInput; ? ?
? 8com/groupbyinc/flux/common/util/concurrent/ThreadContext ? ,com/groupbyinc/flux/common/settings/Settings ? EMPTY .Lcom/groupbyinc/flux/common/settings/Settings; ? ? ? ? 1(Lcom/groupbyinc/flux/common/settings/Settings;)V ?
? ? readHeaders 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
? ? $closeResource 1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)V ? ?
? 0com/groupbyinc/flux/common/io/stream/StreamInput ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? V_6_3_0 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? readStringArray ()[Ljava/lang/String; ? ?
? ?
, action: ?
readString ? R
? ? length context :Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; remaining 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; requestId J status B Z type version sb Ljava/lang/StringBuilder; offset 7com/groupbyinc/flux/transport/netty4/ByteBufStreamInput ? 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)V ?
? ? byteValue ()B ? ?
? ?
isCompress ? v
t ? 0com/groupbyinc/flux/transport/netty4/Netty4Utils ? toBytesReference d(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
? ? 5com/groupbyinc/flux/common/compress/CompressorFactory ?
compressor c(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/compress/Compressor; ? ?
? ? .com/groupbyinc/flux/common/compress/Compressor ? streamInput f(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/StreamInput; ? ? ? ? 0Lcom/groupbyinc/flux/common/compress/Compressor; Ljava/lang/Byte; 9Lcom/groupbyinc/flux/transport/netty4/ByteBufStreamInput; java/lang/AutoCloseable ? close ? ? ?
addSuppressed (Ljava/lang/Throwable;)V ?
@ x0 Ljava/lang/Throwable; x1 Ljava/lang/AutoCloseable;
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 0
6 *? ? ?
) * ? 1-? #? %*+,-? #? &?:*? *,? 2 *+,-? 4?*+,-? 4? ! 4 5 6 1 1 7 8 1 9 : 1 ; <