public class ResourceManagementScheduler extends Object
TaskRunner
to return all pending tasks in the system and the status of the worker nodes in
the system.
The ResourceManagementScheduler does not contain the logic to decide whether provision or termination should actually
occur. That decision is made in the ResourceManagementStrategy
.Constructor and Description |
---|
ResourceManagementScheduler(RemoteTaskRunner taskRunner,
ResourceManagementStrategy resourceManagementStrategy,
ResourceManagementSchedulerConfig config,
ScheduledExecutorService exec) |
public ResourceManagementScheduler(RemoteTaskRunner taskRunner, ResourceManagementStrategy resourceManagementStrategy, ResourceManagementSchedulerConfig config, ScheduledExecutorService exec)
public void start()
public void stop()
public ScalingStats getStats()
Copyright © 2015. All rights reserved.