hudson.plugins.slave_squatter.squatters
Class CronSquatter.Entry
java.lang.Object
hudson.plugins.slave_squatter.squatters.CronSquatter.Entry
- Enclosing class:
- CronSquatter
public static final class CronSquatter.Entry
- extends Object
Field Summary |
hudson.scheduler.CronTab |
cron
|
long |
duration
Duration of the reservation, in milliseconds. |
Constructor Summary |
CronSquatter.Entry(int size,
hudson.scheduler.CronTab cron,
long duration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cron
public final hudson.scheduler.CronTab cron
duration
public final long duration
- Duration of the reservation, in milliseconds.
CronSquatter.Entry
public CronSquatter.Entry(int size,
hudson.scheduler.CronTab cron,
long duration)
getReservationSize
public int getReservationSize(hudson.model.Computer c)
sizeOfReservation
public int sizeOfReservation(hudson.model.Computer c,
long timestamp)
timeOfNextChange
public long timeOfNextChange(long timestamp)
Copyright © 2004-2011. All Rights Reserved.