public class BatchRetentionStrategy
extends hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRetentionStrategy.DescriptorImpl |
| Constructor and Description |
|---|
BatchRetentionStrategy(int idleTerminationMinutes) |
| Modifier and Type | Method and Description |
|---|---|
long |
check(hudson.slaves.SlaveComputer computer)
This method will be called periodically to allow this strategy to decide
whether to terminate the specified
Computer. |
void |
start(hudson.slaves.SlaveComputer computer) |
public long check(hudson.slaves.SlaveComputer computer)
Computer.check in class hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>computer - Computer for which this strategy is
assigned. This computer may be online or offline.public void start(hudson.slaves.SlaveComputer computer)
start in class hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>Copyright © 2016–2018 Wave Computing, Inc.. All rights reserved.