
com.groupbyinc.flux.cluster.routing.allocation.decider.ReplicaAfterPrimaryActiveAllocationDecider.class Maven / Gradle / Ivy
???? 3 L acom/groupbyinc/flux/cluster/routing/allocation/decider/ReplicaAfterPrimaryActiveAllocationDecider Hcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider /ReplicaAfterPrimaryActiveAllocationDecider.java NAME Ljava/lang/String; replica_after_primary_active 1(Lcom/groupbyinc/flux/common/settings/Settings;)V *Lcom/groupbyinc/flux/common/inject/Inject;
this cLcom/groupbyinc/flux/cluster/routing/allocation/decider/ReplicaAfterPrimaryActiveAllocationDecider; settings .Lcom/groupbyinc/flux/common/settings/Settings; canAllocate ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/RoutingNode;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;
shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; node 1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;
allocation BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation; 0com/groupbyinc/flux/cluster/routing/ShardRouting primary ()Z !
" ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision $ YES ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; &