protected static final class DiskSpaceMonitorDescriptor.GetUsableSpace extends MasterToSlaveFileCallable<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.
|
checkRoles
public DiskSpaceMonitorDescriptor.DiskSpace invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException
FilePath.FileCallable
All the exceptions are forwarded to the caller.
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 © 2004–2021. All rights reserved.