public class BatchRetentionStrategy
extends hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRetentionStrategy.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
int |
idleTerminationMinutes |
| Constructor and Description |
|---|
BatchRetentionStrategy(int idleTerminationMinutes) |
| Modifier and Type | Method and Description |
|---|---|
long |
check(hudson.slaves.SlaveComputer computer)
Checks if the slave computer needs to be terminated and terminates if
needed
|
void |
start(hudson.slaves.SlaveComputer computer) |
public long check(hudson.slaves.SlaveComputer computer)
check in class hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>computer - public void start(hudson.slaves.SlaveComputer computer)
start in class hudson.slaves.RetentionStrategy<hudson.slaves.SlaveComputer>Copyright © 2004-2015. All Rights Reserved.