com.groupbyinc.flux.indices.flush.ShardsSyncedFlushResult.class Maven / Gradle / Ivy
???? 4 ? 9com/groupbyinc/flux/indices/flush/ShardsSyncedFlushResult java/lang/Object /com/groupbyinc/flux/common/io/stream/Streamable ShardsSyncedFlushResult.java Mcom/groupbyinc/flux/indices/flush/SyncedFlushService$ShardSyncedFlushResponse 4com/groupbyinc/flux/indices/flush/SyncedFlushService
ShardSyncedFlushResponse java/util/Map$Entry
java/util/Map Entry
failureReason Ljava/lang/String; shardResponses Ljava/util/Map; ?Ljava/util/Map; syncId shardId )Lcom/groupbyinc/flux/index/shard/ShardId; totalShards I ()V
this ;Lcom/groupbyinc/flux/indices/flush/ShardsSyncedFlushResult;
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId; $ ?(Lcom/groupbyinc/flux/index/shard/ShardId;ILjava/lang/String;)V ' ) java/util/Collections + emptyMap ()Ljava/util/Map; - .
, / 1 3 N(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;ILjava/util/Map;)V java/util/HashMap 6 (Ljava/util/Map;)V 8
7 9 unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; ; <
, = failed ()Z ()Ljava/lang/String; ()I successfulShards values ()Ljava/util/Collection; D E F java/util/Collection H iterator ()Ljava/util/Iterator; J K I L java/util/Iterator N hasNext P @ O Q next ()Ljava/lang/Object; S T O U success W @
X result OLcom/groupbyinc/flux/indices/flush/SyncedFlushService$ShardSyncedFlushResponse; i failedShards
7 entrySet ()Ljava/util/Set; _ ` a
java/util/Set c d L getValue f T g getKey i T j put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; l m n ?Ljava/util/Map$Entry; Ljava/util/Map$Entry; failures readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException u 0com/groupbyinc/flux/common/io/stream/StreamInput w readOptionalString y A
x z readInt | B
x } 0com/groupbyinc/flux/cluster/routing/ShardRouting t
? ? readSyncedFlushResponse ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/flush/SyncedFlushService$ShardSyncedFlushResponse; ? ?
? 'com/groupbyinc/flux/index/shard/ShardId ? readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? ? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; response in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; numResponses writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeOptionalString (Ljava/lang/String;)V ? ?
? ? size ? B ? writeInt (I)V ? ?
? ? ? ?
? ?
?
? ? entry out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; readShardsSyncedFlushResult o(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/flush/ShardsSyncedFlushResult;
s t
? shardsSyncedFlushResult Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable ?(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;ILjava/util/Map;)V
StackMapTable ?()Ljava/util/Map;
Exceptions
SourceFile InnerClasses ! ? ? 3 *? ? ? ! ?
- . " # ? / *? %? ? ! ? 1 &