public static class RetentionStrategy.Always extends RetentionStrategy<SlaveComputer>
RetentionStrategy
that tries to keep the node online all the time.Modifier and Type | Class and Description |
---|---|
static class |
RetentionStrategy.Always.DescriptorImpl |
RetentionStrategy.Always, RetentionStrategy.Demand
ExtensionPoint.LegacyInstancesAreScopedToHudson
INSTANCE, LIST, NOOP
Constructor and Description |
---|
Always()
Constructs a new Always.
|
Modifier and Type | Method and Description |
---|---|
long |
check(SlaveComputer c)
This method will be called periodically to allow this strategy to decide what to do with it's owning slave.
|
all, isAcceptingTasks, isManualLaunchAllowed, start
getDescriptor
public long check(SlaveComputer c)
RetentionStrategy
check
in class RetentionStrategy<SlaveComputer>
c
- Computer
for which this strategy is assigned. This computer may be online or offline.
This object also exposes a bunch of properties that the callee can use to decide what action to take.Copyright © 2018. All rights reserved.