com.groupbyinc.flux.transport.TransportActionProxy.class Maven / Gradle / Ivy
???? 4 ? 2com/groupbyinc/flux/transport/TransportActionProxy java/lang/Object TransportActionProxy.java ?com/groupbyinc/flux/transport/TransportActionProxy$ProxyRequest ProxyRequest Gcom/groupbyinc/flux/transport/TransportActionProxy$ProxyResponseHandler ProxyResponseHandler Fcom/groupbyinc/flux/transport/TransportActionProxy$ProxyRequestHandler ProxyRequestHandler /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names 5com/groupbyinc/flux/common/io/stream/Writeable$Reader .com/groupbyinc/flux/common/io/stream/Writeable Reader %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup PROXY_ACTION_PREFIX Ljava/lang/String; internal:transport/proxy/ ()V " #
$ this 4Lcom/groupbyinc/flux/transport/TransportActionProxy; registerProxyAction b(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Function;)V .com/groupbyinc/flux/transport/TransportService * getRequestHandler J(Ljava/lang/String;)Lcom/groupbyinc/flux/transport/RequestHandlerRegistry; , -
+ . getProxyAction &(Ljava/lang/String;)Ljava/lang/String; 0 1
2 "java/lang/invoke/LambdaMetafactory 4 metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; 6 7
5 8 9 ()Ljava/lang/Object; ; lambda$registerProxyAction$0 y(Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;)Lcom/groupbyinc/flux/transport/TransportActionProxy$ProxyRequest; = >
? @ C()Lcom/groupbyinc/flux/transport/TransportActionProxy$ProxyRequest; B get U(Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;)Ljava/util/function/Supplier; D E F same H " )
J registerRequestHandler }(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;ZZLcom/groupbyinc/flux/transport/TransportRequestHandler;)V L M
+ N service 0Lcom/groupbyinc/flux/transport/TransportService; action responseFunction ?Ljava/util/function/Function;>; Ljava/util/function/Function; requestHandler 6Lcom/groupbyinc/flux/transport/RequestHandlerRegistry; b(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Supplier;)V lambda$registerProxyAction$1 Y >
Z [ F &(Ljava/lang/Object;)Ljava/lang/Object; ^ lambda$registerProxyAction$2 l(Ljava/util/function/Supplier;Lcom/groupbyinc/flux/transport/TransportRequest;)Ljava/util/function/Supplier; ` a
b c O(Lcom/groupbyinc/flux/transport/TransportRequest;)Ljava/util/function/Supplier; e apply <(Ljava/util/function/Supplier;)Ljava/util/function/Function; g h i responseSupplier PLjava/util/function/Supplier; Ljava/util/function/Supplier; java/lang/StringBuilder n
o $ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; q r
o s toString ()Ljava/lang/String; u v
o w wrapRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/transport/TransportRequest;)Lcom/groupbyinc/flux/transport/TransportRequest; c(Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V " {
| node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; request 0Lcom/groupbyinc/flux/transport/TransportRequest;
unwrapRequest b(Lcom/groupbyinc/flux/transport/TransportRequest;)Lcom/groupbyinc/flux/transport/TransportRequest; wrapped ? ? ?
isProxyAction (Ljava/lang/String;)Z java/lang/String ?
startsWith ? ?
? ? isProxyRequest 3(Lcom/groupbyinc/flux/transport/TransportRequest;)Z java/util/Objects ? requireNonNull ? ^
? ? F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object; ? 4com/groupbyinc/flux/transport/RequestHandlerRegistry ?
newRequest d(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/transport/TransportRequest; ? ?
? ? ? read o(Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;)Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader; ? ? ? :(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)V " ?
?
ConstantValue Code LocalVariableTable LineNumberTable LocalVariableTypeTable Signature ?(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Function;>;)V ?(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Supplier;)V
StackMapTable BootstrapMethods
SourceFile InnerClasses 1 ? ! " # ? / *? %? ? &