
com.groupbyinc.flux.action.admin.cluster.health.ClusterHealthResponse.class Maven / Gradle / Ivy
???? 3 Ecom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse )com/groupbyinc/flux/action/ActionResponse 4com/groupbyinc/flux/common/xcontent/StatusToXContent ClusterHealthResponse.java Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse$Fields Fields 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params Gcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion 3com/groupbyinc/flux/common/xcontent/XContentBuilder FieldCaseConversion clusterName Ljava/lang/String; numberOfPendingTasks I numberOfInFlightFetch delayedUnassignedShards taskMaxWaitingTime +Lcom/groupbyinc/flux/common/unit/TimeValue; timedOut Z clusterStateHealth 7Lcom/groupbyinc/flux/cluster/health/ClusterStateHealth; ()V ! "
# % ' ) )com/groupbyinc/flux/common/unit/TimeValue + timeValueMillis .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; - .
, / 1 3 this GLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse; R(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)V timeValueHours 8 .
, 9 ?(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;IIILcom/groupbyinc/flux/common/unit/TimeValue;)V ! ;
< concreteIndices [Ljava/lang/String; clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; B 5com/groupbyinc/flux/cluster/health/ClusterStateHealth D @(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;)V ! F
E G I getClusterName ()Ljava/lang/String; getClusterStateHealth 9()Lcom/groupbyinc/flux/cluster/health/ClusterStateHealth; getValidationFailures ()Ljava/util/List; O P
E Q getActiveShards ()I S T
E U getRelocatingShards W T
E X getActivePrimaryShards Z T
E [ getInitializingShards ] T
E ^ getUnassignedShards ` T
E a getNumberOfNodes c T
E d getNumberOfDataNodes f T
E g getNumberOfPendingTasks getNumberOfInFlightFetch getDelayedUnassignedShards
isTimedOut ()Z setTimedOut (Z)V getStatus :()Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; p q
E r setStatus ;(Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;)V t u
E v status 8Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;
getIndices ()Ljava/util/Map; z {
E | getTaskMaxWaitingTime -()Lcom/groupbyinc/flux/common/unit/TimeValue; getActiveShardsPercent ()D ? ?
E ? readResponseFrom {(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse; java/io/IOException ?
# 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 ? L
? ? readVInt ? T
? ? readInt ? T
? ? readByte ()B ? ?
? ? 6com/groupbyinc/flux/cluster/health/ClusterHealthStatus ? fromValue ;(B)Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; ? ?
? ? java/util/HashMap ?
? #
java/util/Map ? 5com/groupbyinc/flux/cluster/health/ClusterIndexHealth ? readClusterIndexHealth k(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/health/ClusterIndexHealth; ? ?
? ? getIndex ? L
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? readBoolean ? m
? ? java/util/Collections ? emptyList ? P
? ? java/util/ArrayList ? (I)V ! ?
? ? java/util/List ? add (Ljava/lang/Object;)Z ? ? ? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? com/groupbyinc/flux/Version ? V_1_7_0 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ?
readDouble ? ?
? ?
readTimeValue _(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
, ? b(IIIIIIIDLcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;Ljava/util/List;Ljava/util/Map;)V ! ?
E ? indexHealth 7Lcom/groupbyinc/flux/cluster/health/ClusterIndexHealth; i validationFailures $Ljava/util/List; Ljava/util/List; activePrimaryShards activeShards relocatingShards initializingShards unassignedShards
numberOfNodes numberOfDataNodes size indices ZLjava/util/Map; Ljava/util/Map; activeShardsPercent D writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString (Ljava/lang/String;)V ? ?
? ? writeVInt ?
? writeInt ?
? value ?
? writeByte (B)V
? ? T ?
iterator ()Ljava/util/Iterator;
E java/util/Iterator hasNext m next ()Ljava/lang/Object;
? ? writeBoolean o
? ?
? java/lang/String"
? ? writeDouble (D)V%&
?'
, ? failure out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; toString 3com/groupbyinc/flux/common/xcontent/XContentFactory. jsonBuilder 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;01
/2 prettyPrint41
5 startObject71
8 EMPTY_PARAMS 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;:; <
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;>?
@ endObjectB1
C stringE L
F java/lang/StringBuilderH
I #
{ "error" : "K append -(Ljava/lang/String;)Ljava/lang/StringBuilder;MN
IO
getMessageQ L
?R "}T- L
IV builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException; '()Lcom/groupbyinc/flux/rest/RestStatus; l m
] #com/groupbyinc/flux/rest/RestStatus_ REQUEST_TIMEOUT %Lcom/groupbyinc/flux/rest/RestStatus;ab `c OKeb `f CLUSTER_NAME ;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;hi j K L
l field ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;no
p STATUSri s
r namev L
?w java/util/Localey ROOT Ljava/util/Locale;{| z} toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;?
#? TIMED_OUT?i ? s(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;n?
? NUMBER_OF_NODES?i ?
d s(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;n?
? NUMBER_OF_DATA_NODES?i ?
g ACTIVE_PRIMARY_SHARDS?i ?
[
ACTIVE_SHARDS?i ?
U RELOCATING_SHARDS?i ?
X INITIALIZING_SHARDS?i ?
^ UNASSIGNED_SHARDS?i ?
a DELAYED_UNASSIGNED_SHARDS?i ? k T
? NUMBER_OF_PENDING_TASKS?i ? i T
? NUMBER_OF_IN_FLIGHT_FETCH?i ? j T
? %TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS?i ? TASK_MAX_WAIT_TIME_IN_QUEUE?i ? ~
? timeValueField ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
? ACTIVE_SHARDS_PERCENT_AS_NUMBER?i ? ACTIVE_SHARDS_PERCENT?i ?
? percentageField ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
? level? cluster? param 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;?? ? ? equals? ?
#? shards?
Q isEmpty? m ?? VALIDATION_FAILURES?i ?
startArray r(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
? values ()Ljava/util/Collection;?? ?? java/util/Collection??7?
?
? Q endArray?1
? INDICES?i ?7?
? NONE ILcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion;?? ? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;7
?@ validationFailure params
outputIndices Code LocalVariableTable LineNumberTable Signature &()Ljava/util/List; \()Ljava/util/Map;
Exceptions LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses ! ! " c !*? $*? &*? (*? ** ? 0? 2*? 4? ! 5 6 4 - . / 0 1 5 ! 7 [ *+,- ? :? =? * 5 6 > ? @ A
9 : ! ; \*? $*? &*? (*? ** ? 0? 2*? 4*+? C*? &*? (*? **+? C*? &*? (*? 2*? EY-,? H? J? R \ 5 6 \ \ > ? \ @ A \ \ \ \ B = - . / 0 1 > % ? + @ 1 A 7 B <