public class

BestPossibleStateOutput

extends Object
java.lang.Object
   ↳ org.apache.helix.controller.stages.BestPossibleStateOutput

Summary

Public Constructors
BestPossibleStateOutput()
Public Methods
Map<StringString> getInstanceStateMap(String resourceName, Partition partition)
Map<PartitionMap<StringString>> getResourceMap(String resourceName)
Map<StringMap<PartitionMap<StringString>>> getStateMap()
Set<String> resourceSet()
void setState(String resourceName, Partition partition, String instance, String state)
void setState(String resourceName, Partition resource, Map<StringString> bestInstanceStateMappingForResource)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BestPossibleStateOutput ()

Public Methods

public Map<StringString> getInstanceStateMap (String resourceName, Partition partition)

public Map<PartitionMap<StringString>> getResourceMap (String resourceName)

public Map<StringMap<PartitionMap<StringString>>> getStateMap ()

public Set<String> resourceSet ()

public void setState (String resourceName, Partition partition, String instance, String state)

public void setState (String resourceName, Partition resource, Map<StringString> bestInstanceStateMappingForResource)

public String toString ()