com.groupbyinc.flux.transport.local.LocalTransportChannel.class Maven / Gradle / Ivy
???? 4 ? 9com/groupbyinc/flux/transport/local/LocalTransportChannel java/lang/Object .com/groupbyinc/flux/transport/TransportChannel LocalTransportChannel.java LOCAL_TRANSPORT_PROFILE Ljava/lang/String; default
sourceTransport 4Lcom/groupbyinc/flux/transport/local/LocalTransport; sourceTransportServiceAdapter 7Lcom/groupbyinc/flux/transport/TransportServiceAdapter; targetTransport action requestId J version Lcom/groupbyinc/flux/Version;
reservedBytes
threadContext :Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; closed +Ljava/util/concurrent/atomic/AtomicBoolean;
(Lcom/groupbyinc/flux/transport/local/LocalTransport;Lcom/groupbyinc/flux/transport/TransportServiceAdapter;Lcom/groupbyinc/flux/transport/local/LocalTransport;Ljava/lang/String;JLcom/groupbyinc/flux/Version;JLcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V ()V
)java/util/concurrent/atomic/AtomicBoolean
! #
% '
) + - / 1 3 this ;Lcom/groupbyinc/flux/transport/local/LocalTransportChannel; ()Ljava/lang/String; getProfileName sendResponse 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V java/io/IOException ; 6com/groupbyinc/flux/transport/TransportResponseOptions = EMPTY 8Lcom/groupbyinc/flux/transport/TransportResponseOptions; ? @ > A l(Lcom/groupbyinc/flux/transport/TransportResponse;Lcom/groupbyinc/flux/transport/TransportResponseOptions;)V 9 C
D response 1Lcom/groupbyinc/flux/transport/TransportResponse; java/lang/Throwable H 6com/groupbyinc/flux/common/io/stream/BytesStreamOutput J
K
setVersion (Lcom/groupbyinc/flux/Version;)V M N
K O writeLong (J)V Q R
K S -com/groupbyinc/flux/transport/TransportStatus U setResponse (B)B W X
V Y writeByte (B)V [ \
K ] 8com/groupbyinc/flux/common/util/concurrent/ThreadContext _ writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V a b
` c /com/groupbyinc/flux/transport/TransportResponse e
f c bytes 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; h i
K j /com/groupbyinc/flux/common/bytes/BytesReference l toBytes 5(Lcom/groupbyinc/flux/common/bytes/BytesReference;)[B n o
m p sendResponseData ([B)V r s
t 5com/groupbyinc/flux/transport/TransportServiceAdapter v onResponseSent (JLjava/lang/String;Lcom/groupbyinc/flux/transport/TransportResponse;Lcom/groupbyinc/flux/transport/TransportResponseOptions;)V x y w z close |
K }
addSuppressed (Ljava/lang/Throwable;)V ?
I ? status B stream 8Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput; options (Ljava/lang/Exception;)V writeResponseExceptionHeader ;(Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput;)V ? ?
? 6com/groupbyinc/flux/transport/RemoteTransportException ? 2com/groupbyinc/flux/transport/local/LocalTransport ? nodeName ? 7
? ? boundAddress >()Lcom/groupbyinc/flux/common/transport/BoundTransportAddress; ? ?
? ? :com/groupbyinc/flux/common/transport/BoundTransportAddress ? boundAddresses :()[Lcom/groupbyinc/flux/common/transport/TransportAddress; ? ?
? ? s(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Ljava/lang/String;Ljava/lang/Throwable;)V ?
? ? writeException ? ?
K ? +(JLjava/lang/String;Ljava/lang/Exception;)V x ? w ? exception Ljava/lang/Exception; tx 8Lcom/groupbyinc/flux/transport/RemoteTransportException;
} receiveMessage x(Lcom/groupbyinc/flux/Version;[BLjava/lang/String;Ljava/lang/Long;Lcom/groupbyinc/flux/transport/local/LocalTransport;)V ? ?
? ? data [B
compareAndSet (ZZ)Z ? ?
! ? java/lang/IllegalStateException ? Channel is already closed ? (Ljava/lang/String;)V ?
? ? inFlightRequestsBreaker 5()Lcom/groupbyinc/flux/common/breaker/CircuitBreaker; ? ?
? ? 1com/groupbyinc/flux/common/breaker/CircuitBreaker ? addWithoutBreaking (J)J ? ? ? ? getRequestId ()J getChannelType local ?
getVersion ()Lcom/groupbyinc/flux/Version; setError ? X
V ?
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile !
?
? ? =*? *? !Y? "? $*+? &*,? (*-? **? ,*? .*? 0*? 2*
? 4? ? \ = 5 6 =
= =
= = = = =
? . 5 1 6 7 8 9 $ : * ; 0 <