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 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 that FilePath has represented.
      channel - The "back pointer" of the Channel that represents the communication with the node from where the code was sent.
      Throws:
      IOException