hudson.plugins.disk_usage
Class DiskUsageThread.DiskUsageCallable

java.lang.Object
  extended by 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

Constructor Summary
DiskUsageThread.DiskUsageCallable(hudson.FilePath filePath)
           
 
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
 

Constructor Detail

DiskUsageThread.DiskUsageCallable

public DiskUsageThread.DiskUsageCallable(hudson.FilePath filePath)
Method Detail

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 © 2010. All Rights Reserved.