Interface PlacementContext
- All Known Implementing Classes:
SimplePlacementContextImpl
public interface PlacementContext
Placement context makes it easier to pass around and access main placement-related components.
-
Method Summary
Modifier and TypeMethodDescriptionFactory used by the plugin to fetch additional attributes from the cluster nodes, such as count of cores, system properties etc..Factory used to create instances ofBalancePlanto return computed decision.Initial state of the cluster.Factory used to create instances ofPlacementPlanto return computed decision.
-
Method Details
-
getCluster
Cluster getCluster() -
getAttributeFetcher
AttributeFetcher getAttributeFetcher()Factory used by the plugin to fetch additional attributes from the cluster nodes, such as count of cores, system properties etc.. -
getPlacementPlanFactory
PlacementPlanFactory getPlacementPlanFactory()Factory used to create instances ofPlacementPlanto return computed decision. -
getBalancePlanFactory
BalancePlanFactory getBalancePlanFactory()Factory used to create instances ofBalancePlanto return computed decision.
-