hudson.plugins.ec2.ebs
Class ZPoolMonitor
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.plugins.ec2.ebs.ZPoolMonitor
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class ZPoolMonitor
- extends hudson.model.PeriodicWork
Once an hour, check if the main zpool is that hosts $HUDSON_HOME has still enough free space.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
| Methods inherited from class hudson.model.PeriodicWork |
all, getInitialDelay |
| Methods inherited from class hudson.triggers.SafeTimerTask |
run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZPoolMonitor
public ZPoolMonitor()
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod in class hudson.model.PeriodicWork
doRun
protected void doRun()
- Specified by:
doRun in class hudson.triggers.SafeTimerTask
isInsideEC2
public static boolean isInsideEC2()
- Returns true if this JVM runs inside EC2.
Copyright © 2004-2012 Hudson. All Rights Reserved.