public interface ResourceManagementStrategy<T extends TaskRunner>
Modifier and Type | Method and Description |
---|---|
ScalingStats |
getStats()
Get any interesting stats related to scaling
|
void |
startManagement(T runner)
Equivalent to start() but requires a specific runner instance which holds state of interest.
|
void |
stopManagement()
Equivalent to stop()
Should be called from TaskRunner's lifecycle
|
void startManagement(T runner)
runner
- The TaskRunner state holder this strategy should use during executionvoid stopManagement()
ScalingStats getStats()
Copyright © 2011–2017. All rights reserved.