
com.groupbyinc.flux.action.admin.indices.segments.TransportIndicesSegmentsAction.class Maven / Gradle / Ivy
???? 3 ? Pcom/groupbyinc/flux/action/admin/indices/segments/TransportIndicesSegmentsAction )Lcom/groupbyinc/flux/action/support/broadcast/node/TransportBroadcastByNodeAction; Pcom/groupbyinc/flux/action/support/broadcast/node/TransportBroadcastByNodeAction #TransportIndicesSegmentsAction.java /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names indicesService ,Lcom/groupbyinc/flux/indices/IndicesService; X(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/indices/IndicesService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; indices:monitor/segments Hcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest
management a(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/lang/Class;Ljava/lang/String;)V
this RLcom/groupbyinc/flux/action/admin/indices/segments/TransportIndicesSegmentsAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; clusterService ,Lcom/groupbyinc/flux/cluster/ClusterService; transportService 0Lcom/groupbyinc/flux/transport/TransportService;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; shards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; (com/groupbyinc/flux/cluster/ClusterState , routingTable 4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable; . /
- 0 0com/groupbyinc/flux/cluster/routing/RoutingTable 2 allShards I([Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; 4 5
3 6 clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; request JLcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest; concreteIndices [Ljava/lang/String; checkGlobalBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; blocks 3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks; @ A
- B 3com/groupbyinc/flux/cluster/block/ClusterBlockLevel D
METADATA_READ 5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel; F G E H /com/groupbyinc/flux/cluster/block/ClusterBlocks J globalBlockedException p(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; L M
K N state checkRequestBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; indicesBlockedException ?(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; S T
K U countRequest readShardResult u(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments; java/io/IOException Z ?com/groupbyinc/flux/action/admin/indices/segments/ShardSegments \ readShardSegments ^ Y
] _ in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; newResponse ?(Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse; Hcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse e java/util/List g size ()I i j h k toArray (([Ljava/lang/Object;)[Ljava/lang/Object; m n h o B[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments; q X([Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;IIILjava/util/List;)V s
f t totalShards I successfulShards failedShards results SLjava/util/List; Ljava/util/List;
shardFailures LLjava/util/List; readRequestFrom ~(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest; ()V ?
? readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
? shardOperation ?(Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments; 0com/groupbyinc/flux/cluster/routing/ShardRouting ? getIndex ()Ljava/lang/String; ? ?
? ? *com/groupbyinc/flux/indices/IndicesService ? indexServiceSafe <(Ljava/lang/String;)Lcom/groupbyinc/flux/index/IndexService; ? ?
? ? id ? j
? ? &com/groupbyinc/flux/index/IndexService ? shardSafe /(I)Lcom/groupbyinc/flux/index/shard/IndexShard; ? ?
? ? *com/groupbyinc/flux/index/shard/IndexShard ? routingEntry 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; ? ?
? ? engine +()Lcom/groupbyinc/flux/index/engine/Engine; ? ?
? ? verbose ()Z ? ?
? 'com/groupbyinc/flux/index/engine/Engine ? segments (Z)Ljava/util/List; ? ?
? ? E(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/util/List;)V ?
] ? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; indexService (Lcom/groupbyinc/flux/index/IndexService;
indexShard ,Lcom/groupbyinc/flux/index/shard/IndexShard; ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; Q R
? ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; > ?
? ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; * +
? ?(Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Lcom/groupbyinc/flux/common/io/stream/Streamable; ? ?
? s(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest; ?
? ?(Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastResponse; c d
? e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/Streamable; X Y
? Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
Exceptions LocalVariableTypeTable Signatureb(Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentsRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse;
SourceFile InnerClasses !
? ?
*+,-? *? ? ? R ! " # $ %
&