Interface IMonitorDelegator

    • Method Detail

      • getServerProcesses

        java.util.List<IServerProcess> getServerProcesses()
                                                   throws ConnectionException,
                                                          RequestException,
                                                          AccessException
        Return a list of Perforce server processes active on the Perforce server. Will throw a request exception if monitors are not enabled on the target server.
        Returns:
        non-null but possibly-empty list of IServerProcess objects
        Throws:
        ConnectionException - if the Perforce server is unreachable or is not connected.
        RequestException - if the Perforce server encounters an error during its processing of the request
        AccessException - if the Perforce server denies access to the caller
      • getServerProcesses

        java.util.List<IServerProcess> getServerProcesses​(GetServerProcessesOptions opts)
                                                   throws P4JavaException
        Return a list of Perforce server processes active on the Perforce server. Will throw a request exception if monitors are not enabled on the target server.
        Parameters:
        opts - GetServerProcessesOptions object describing optional parameters; if null, no options are set.
        Returns:
        list of server processes
        Throws:
        P4JavaException - if an error occurs processing this method and its parameters.