Interface IDiskspaceDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
DiskspaceDelegator, NtsServerImpl, OneShotServerImpl, RpcServer, Server

public interface IDiskspaceDelegator
Interface to handle the Diskspace command.
  • Method Summary

    Modifier and Type
    Method
    Description
    getDiskSpace(List<String> filesystems)
    Get a list of disk space information about the current availability of disk space on the server.
  • Method Details

    • getDiskSpace

      List<IDiskSpace> getDiskSpace(List<String> filesystems) throws P4JavaException
      Get a list of disk space information about the current availability of disk space on the server. This command requires that the user be an operator or have 'super' access granted by 'p4 protect'.

      If no arguments are specified, disk space information for all relevant file systems is displayed; otherwise the output is restricted to the named filesystem(s).

      filesystems: P4ROOT | P4JOURNAL | P4LOG | TEMP | journalPrefix | depot See the main 'p4 diskspace' command documentation for full semantics and usage details.

      Parameters:
      filesystems - if not null, specify a list of Perforce named filesystem(s).
      Returns:
      non-null but possibly empty list of disk space information.
      Throws:
      P4JavaException - if an error occurs processing this method and its parameters.
      Since:
      2011.2