Interface PlacementContext
-
- All Known Implementing Classes:
SimplePlacementContextImpl
public interface PlacementContextPlacement 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 AttributeFetchergetAttributeFetcher()Factory used by the plugin to fetch additional attributes from the cluster nodes, such as count of cores, system properties etc..BalancePlanFactorygetBalancePlanFactory()Factory used to create instances ofBalancePlanto return computed decision.ClustergetCluster()Initial state of the cluster.PlacementPlanFactorygetPlacementPlanFactory()Factory used to create instances ofPlacementPlanto 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 ofPlacementPlanto return computed decision.
-
getBalancePlanFactory
BalancePlanFactory getBalancePlanFactory()
Factory used to create instances ofBalancePlanto return computed decision.
-
-