public interface

ReplicatedRebalancerConfig

implements RebalancerConfig
org.apache.helix.controller.rebalancer.config.ReplicatedRebalancerConfig
Known Indirect Subclasses

Class Overview

Methods specifying a rebalancer config that allows replicas. For instance, a rebalancer config with partitions may accept state model definitions that support multiple replicas per partition, and it's possible that the policy is that each live participant in the system should have a replica.

Summary

Public Methods
abstract boolean anyLiveParticipant()
Check if this resource should be assigned to any live participant
abstract int getReplicaCount()
Get the number of replicas that each resource subunit should have
[Expand]
Inherited Methods
From interface org.apache.helix.controller.rebalancer.config.RebalancerConfig

Public Methods

public abstract boolean anyLiveParticipant ()

Check if this resource should be assigned to any live participant

Returns
  • true if any live participant expected, false otherwise

public abstract int getReplicaCount ()

Get the number of replicas that each resource subunit should have

Returns
  • replica count