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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeFetcher
getAttributeFetcher()
Factory used by the plugin to fetch additional attributes from the cluster nodes, such as count of cores, system properties etc..BalancePlanFactory
getBalancePlanFactory()
Factory used to create instances ofBalancePlan
to return computed decision.Cluster
getCluster()
Initial state of the cluster.PlacementPlanFactory
getPlacementPlanFactory()
Factory used to create instances ofPlacementPlan
to return computed decision.
-
-
-
Method Detail
-
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 ofPlacementPlan
to return computed decision.
-
getBalancePlanFactory
BalancePlanFactory getBalancePlanFactory()
Factory used to create instances ofBalancePlan
to return computed decision.
-
-