hudson.plugins.disk_usage
Class DiskUsageThread

java.lang.Object
  extended by java.util.TimerTask
      extended by hudson.triggers.SafeTimerTask
          extended by hudson.model.PeriodicWork
              extended by hudson.model.AsyncPeriodicWork
                  extended by hudson.plugins.disk_usage.DiskUsageThread
All Implemented Interfaces:
hudson.ExtensionPoint, java.lang.Runnable

@Extension
public class DiskUsageThread
extends hudson.model.AsyncPeriodicWork

A Thread responsible for gathering disk usage information

Author:
dvrzalik

Nested Class Summary
static class DiskUsageThread.DiskUsageCallable
          A Callable which computes disk usage of remote file object
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static int COUNT_INTERVAL_MINUTES
           
 
Fields inherited from class hudson.model.AsyncPeriodicWork
name
 
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
 
Constructor Summary
DiskUsageThread()
           
 
Method Summary
protected  void execute(hudson.model.TaskListener listener)
           
 long getRecurrencePeriod()
           
 
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getLogFile
 
Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay
 
Methods inherited from class hudson.triggers.SafeTimerTask
run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_INTERVAL_MINUTES

public static final int COUNT_INTERVAL_MINUTES
See Also:
Constant Field Values
Constructor Detail

DiskUsageThread

public DiskUsageThread()
Method Detail

getRecurrencePeriod

public long getRecurrencePeriod()
Specified by:
getRecurrencePeriod in class hudson.model.PeriodicWork

execute

protected void execute(hudson.model.TaskListener listener)
                throws java.io.IOException,
                       java.lang.InterruptedException
Specified by:
execute in class hudson.model.AsyncPeriodicWork
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.