protected static final class DiskSpaceMonitorDescriptor.GetUsableSpace extends Object implements FilePath.FileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
Constructor and Description |
---|
GetUsableSpace() |
Modifier and Type | Method and Description |
---|---|
DiskSpaceMonitorDescriptor.DiskSpace |
invoke(File f,
hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.
|
public DiskSpaceMonitorDescriptor.DiskSpace invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException
FilePath.FileCallable
All the exceptions are forwarded to the caller.
invoke
in interface FilePath.FileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
f
- File
that represents the local file that FilePath
has represented.channel
- The "back pointer" of the Channel
that represents the communication
with the node from where the code was sent.IOException
Copyright © 2014. All rights reserved.