public class

ShufflingTwoStateStrategy

extends Object
java.lang.Object
   ↳ org.apache.helix.controller.strategy.ShufflingTwoStateStrategy

Summary

Public Constructors
ShufflingTwoStateStrategy()
Public Methods
static ZNRecord calculateIdealState(List<String> instanceNames, int partitions, int replicas, String resourceName, long randomSeed)
Calculate an ideal state for a MasterSlave configuration
static ZNRecord calculateIdealState(List<String> instanceNames, int partitions, int replicas, String resourceName)
static ZNRecord calculateIdealState(List<String> instanceNames, int partitions, int replicas, String resourceName, long randomSeed, String primaryValue, String secondaryValue)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ShufflingTwoStateStrategy ()

Public Methods

public static ZNRecord calculateIdealState (List<String> instanceNames, int partitions, int replicas, String resourceName, long randomSeed)

Calculate an ideal state for a MasterSlave configuration

public static ZNRecord calculateIdealState (List<String> instanceNames, int partitions, int replicas, String resourceName)

public static ZNRecord calculateIdealState (List<String> instanceNames, int partitions, int replicas, String resourceName, long randomSeed, String primaryValue, String secondaryValue)