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,ControllerToAgentFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>,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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
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.FileCallablePerforms the computational task on the node where the data is located.All the exceptions are forwarded to the caller.
- Parameters:
f-Filethat represents the local file thatFilePathhas represented.channel- The "back pointer" of theChannelthat represents the communication with the node from where the code was sent.- Throws:
IOException
-