Package hudson.plugins.disk_usage
Class DiskUsageCalculation
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.AperiodicWork
-
- hudson.model.AsyncAperiodicWork
-
- hudson.plugins.disk_usage.DiskUsageCalculation
-
- All Implemented Interfaces:
ExtensionPoint,Runnable
- Direct Known Subclasses:
BuildDiskUsageCalculationThread,JobWithoutBuildsDiskUsageCalculation,WorkspaceDiskUsageCalculationThread
public abstract class DiskUsageCalculation extends AsyncAperiodicWork
- Author:
- lucinka
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.AsyncAperiodicWork
name
-
Fields inherited from class hudson.model.AperiodicWork
logger
-
-
Constructor Summary
Constructors Constructor Description DiskUsageCalculation(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancancel()abstract CronTabgetCronTab()longgetInitialDelay()abstract DiskUsageCalculationgetLastTask()longgetRecurrencePeriod()StringgetThreadName()booleanisCancelled()booleanisExecuting()booleanisExecutingMoreThenOneTimes()voidreschedule()longscheduledLastInstanceExecutionTime()-
Methods inherited from class hudson.model.AsyncAperiodicWork
createListener, doAperiodicRun, execute, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
-
Methods inherited from class hudson.model.AperiodicWork
all, doRun, getNewInstance, init
-
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
-
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
-
-
-
Constructor Detail
-
DiskUsageCalculation
public DiskUsageCalculation(String name)
-
-
Method Detail
-
isExecuting
public boolean isExecuting()
-
isExecutingMoreThenOneTimes
public boolean isExecutingMoreThenOneTimes()
-
getThreadName
public String getThreadName()
-
getLastTask
public abstract DiskUsageCalculation getLastTask()
-
scheduledLastInstanceExecutionTime
public long scheduledLastInstanceExecutionTime()
-
getInitialDelay
public long getInitialDelay()
- Overrides:
getInitialDelayin classAperiodicWork
-
isCancelled
public boolean isCancelled()
-
reschedule
public void reschedule()
-
getCronTab
public abstract CronTab getCronTab()
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriodin classAperiodicWork
-
-