
com.groupbyinc.flux.cluster.health.ClusterShardHealth.class Maven / Gradle / Ivy
???? 4? 5com/groupbyinc/flux/cluster/health/ClusterShardHealth java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable 6com/groupbyinc/flux/common/xcontent/ToXContentFragment ClusterShardHealth.java 7com/groupbyinc/flux/cluster/routing/RecoverySource$Type
2com/groupbyinc/flux/cluster/routing/RecoverySource Type 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token Ccom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus 2com/groupbyinc/flux/cluster/routing/UnassignedInfo AllocationStatus %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup STATUS Ljava/lang/String; status %
ACTIVE_SHARDS
active_shards ( RELOCATING_SHARDS relocating_shards + INITIALIZING_SHARDS initializing_shards . UNASSIGNED_SHARDS unassigned_shards 1 PRIMARY_ACTIVE primary_active 4 PARSER >Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; shardId I 8Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; activeShards relocatingShards initializingShards unassignedShards
primaryActive Z $assertionsDisabled @(ILcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;)V ()V C E
F 9 : H :com/groupbyinc/flux/cluster/routing/IndexShardRoutingTable J iterator ()Ljava/util/Iterator; L M
K N java/util/Iterator P hasNext ()Z R S Q T next ()Ljava/lang/Object; V W Q X 0com/groupbyinc/flux/cluster/routing/ShardRouting Z active \ S
[ ]
relocating _ S
[ ` initializing b S
[ c
unassigned e S
[ f primaryShard 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; h i
K j size ()I l m
K n 6com/groupbyinc/flux/cluster/health/ClusterHealthStatus p GREEN r ; q s YELLOW u ; q v getInactivePrimaryHealth l(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus; x y
z % ; | <