public class MonitorDelegator extends BaseDelegator implements IMonitorDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
MonitorDelegator(IOptionsServer server)
Instantiate a new MonitorDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
| Modifier and Type | Method and Description |
|---|---|
List<IServerProcess> |
getServerProcesses()
Return a list of Perforce server processes active on the Perforce server.
|
List<IServerProcess> |
getServerProcesses(GetServerProcessesOptions opts)
Return a list of Perforce server processes active on the Perforce server.
|
public MonitorDelegator(IOptionsServer server)
server - a concrete implementation of a Perforce Helix Serverpublic List<IServerProcess> getServerProcesses() throws ConnectionException, RequestException, AccessException
IMonitorDelegatorgetServerProcesses in interface IMonitorDelegatorConnectionException - if the Perforce server is unreachable or is not connected.RequestException - if the Perforce server encounters an error during its
processing of the requestAccessException - if the Perforce server denies access to the callerpublic List<IServerProcess> getServerProcesses(GetServerProcessesOptions opts) throws P4JavaException
IMonitorDelegatorgetServerProcesses in interface IMonitorDelegatoropts - GetServerProcessesOptions object describing optional parameters; if
null, no options are set.P4JavaException - if an error occurs processing this method and its parameters.Copyright © 2017 Perforce Software. All Rights Reserved.