Package hudson.node_monitors
Class TemporarySpaceMonitor.GetTempSpace
java.lang.Object
jenkins.MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
hudson.node_monitors.TemporarySpaceMonitor.GetTempSpace
- All Implemented Interfaces:
FilePath.FileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- TemporarySpaceMonitor
protected static final class TemporarySpaceMonitor.GetTempSpace
extends MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPerforms the computational task on the node where the data is located.Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
Constructor Details
-
GetTempSpace
protected GetTempSpace()
-
-
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
-