com.groupbyinc.flux.action.admin.cluster.health.ClusterHealthResponse.class Maven / Gradle / Ivy
???? 4? Ecom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse )com/groupbyinc/flux/action/ActionResponse :com/groupbyinc/flux/common/xcontent/StatusToXContentObject ClusterHealthResponse.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params clusterName Ljava/lang/String; numberOfPendingTasks I numberOfInFlightFetch delayedUnassignedShards taskMaxWaitingTime +Lcom/groupbyinc/flux/common/unit/TimeValue; timedOut Z clusterStateHealth 7Lcom/groupbyinc/flux/cluster/health/ClusterStateHealth; clusterHealthStatus 8Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; CLUSTER_NAME cluster_name STATUS status TIMED_OUT timed_out " NUMBER_OF_NODES number_of_nodes % NUMBER_OF_DATA_NODES number_of_data_nodes ( NUMBER_OF_PENDING_TASKS number_of_pending_tasks + NUMBER_OF_IN_FLIGHT_FETCH number_of_in_flight_fetch . DELAYED_UNASSIGNED_SHARDS delayed_unassigned_shards 1 TASK_MAX_WAIT_TIME_IN_QUEUE task_max_waiting_in_queue 4 %TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS task_max_waiting_in_queue_millis 7 ACTIVE_SHARDS_PERCENT_AS_NUMBER active_shards_percent_as_number : ACTIVE_SHARDS_PERCENT active_shards_percent = ACTIVE_PRIMARY_SHARDS active_primary_shards @
ACTIVE_SHARDS
active_shards C RELOCATING_SHARDS relocating_shards F INITIALIZING_SHARDS initializing_shards I UNASSIGNED_SHARDS unassigned_shards L INDICES indices O ()V Q R
S U W Y )com/groupbyinc/flux/common/unit/TimeValue [ timeValueMillis .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; ] ^
\ _ a c this GLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse; R(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)V timeValueHours h ^
\ i ?(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;IIILcom/groupbyinc/flux/common/unit/TimeValue;)V Q k
l concreteIndices [Ljava/lang/String; clusterState *Lcom/groupbyinc/flux/cluster/ClusterState;
r 5com/groupbyinc/flux/cluster/health/ClusterStateHealth t @(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;)V Q v
u w y getStatus :()Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; { |
u } getClusterName ()Ljava/lang/String; getClusterStateHealth 9()Lcom/groupbyinc/flux/cluster/health/ClusterStateHealth; getActiveShards ()I ? ?
u ? getRelocatingShards ? ?
u ? getActivePrimaryShards ? ?
u ? getInitializingShards ? ?
u ? getUnassignedShards ? ?
u ? getNumberOfNodes ? ?
u ? getNumberOfDataNodes ? ?
u ? getNumberOfPendingTasks getNumberOfInFlightFetch getDelayedUnassignedShards
isTimedOut ()Z setTimedOut (Z)V setStatus ;(Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;)V "java/lang/IllegalArgumentException ? 'status' must not be null ? (Ljava/lang/String;)V Q ?
? ?
getIndices ()Ljava/util/Map; ? ?
u ? getTaskMaxWaitingTime -()Lcom/groupbyinc/flux/common/unit/TimeValue; getActiveShardsPercent ()D ? ?
u ? readResponseFrom {(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse; java/io/IOException ?
S readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; response
? 0com/groupbyinc/flux/common/io/stream/StreamInput ?
readString ? ?
? ? readByte ()B ? ?
? ? 6com/groupbyinc/flux/cluster/health/ClusterHealthStatus ? fromValue ;(B)Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; ? ?
? ? Q ?
u ? readInt ? ?
? ? readBoolean ? ?
? ?
\ ? writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString ? ?
? ? value ? ?
? ? writeByte (B)V ? ?
? ?
u ? writeInt (I)V ? ?
? ? writeBoolean ? ?
? ?
\ ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; toString "com/groupbyinc/flux/common/Strings ? D(Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Ljava/lang/String; ? ?
? ? '()Lcom/groupbyinc/flux/rest/RestStatus; ? ?
? #com/groupbyinc/flux/rest/RestStatus ? REQUEST_TIMEOUT %Lcom/groupbyinc/flux/rest/RestStatus; ? OK ?
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
? ?
field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
} name ?
? java/util/Locale ROOT Ljava/util/Locale; java/lang/String toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;!"
# J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;%
&
? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)
*
?
?
?
?
?
? ? ?
2 ? ?
4 ? ?
6 ? ?
8 timeValueField ?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;:;
<
? percentageField \(Ljava/lang/String;Ljava/lang/String;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?@
A levelC clusterE param 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;GH I equals (Ljava/lang/Object;)ZKL
M shardsO I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Q
R
java/util/MapT values ()Ljava/util/Collection;VWUX java/util/CollectionZ iterator ()Ljava/util/Iterator;\][^ java/util/Iterator` hasNextb ?ac next ()Ljava/lang/Object;efag 5com/groupbyinc/flux/cluster/health/ClusterIndexHealthi getIndexk ?
jl
jn endObjectp
q indexHealth 7Lcom/groupbyinc/flux/cluster/health/ClusterIndexHealth; builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;
outputIndices
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable Signature \()Ljava/util/Map;
Exceptions
SourceFile InnerClasses !
z z ! z # $ z &