Package hudson.node_monitors
Class DiskSpaceMonitorDescriptor.GetUsableSpace
java.lang.Object
jenkins.MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
hudson.node_monitors.DiskSpaceMonitorDescriptor.GetUsableSpace
- All Implemented Interfaces:
FilePath.FileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
,Serializable
,ControllerToAgentFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- DiskSpaceMonitorDescriptor
protected static final class DiskSpaceMonitorDescriptor.GetUsableSpace
extends MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPerforms the computational task on the node where the data is located.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
-
Constructor Details
-
GetUsableSpace
public GetUsableSpace()
-
-
Method Details
-
invoke
public DiskSpaceMonitorDescriptor.DiskSpace invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException Description copied from interface:FilePath.FileCallable
Performs the computational task on the node where the data is located.All the exceptions are forwarded to the caller.
- Parameters:
f
-File
that represents the local file thatFilePath
has represented.channel
- The "back pointer" of theChannel
that represents the communication with the node from where the code was sent.- Throws:
IOException
-