hudson.plugins.disk_usage
Class DiskUsageThread.DiskUsageCallable
java.lang.Object
hudson.plugins.disk_usage.DiskUsageThread.DiskUsageCallable
- All Implemented Interfaces:
- hudson.remoting.Callable<java.lang.Long,java.io.IOException>, java.io.Serializable
- Enclosing class:
- DiskUsageThread
public static class DiskUsageThread.DiskUsageCallable
- extends java.lang.Object
- implements hudson.remoting.Callable<java.lang.Long,java.io.IOException>
A Callable which computes disk usage of remote file object
- See Also:
- Serialized Form
|
Field Summary |
static java.util.logging.Logger |
LOGGER
|
|
Method Summary |
java.lang.Long |
call()
|
static java.lang.Long |
getFileSize(java.io.File f)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final java.util.logging.Logger LOGGER
DiskUsageThread.DiskUsageCallable
public DiskUsageThread.DiskUsageCallable(hudson.FilePath filePath)
call
public java.lang.Long call()
throws java.io.IOException
- Specified by:
call in interface hudson.remoting.Callable<java.lang.Long,java.io.IOException>
- Throws:
java.io.IOException
getFileSize
public static java.lang.Long getFileSize(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.