public interface ICountersDelegator
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getCounters()
This is here to allow access via both IOptionsServer and IServer, the underlying
delegator implementation provides the concrete method.
|
java.util.Map<java.lang.String,java.lang.String> |
getCounters(CounterOptions opts)
Deprecated.
As of release 2013.1, replaced by
getCounters(com.perforce.p4java.option.server.GetCountersOptions) |
java.util.Map<java.lang.String,java.lang.String> |
getCounters(GetCountersOptions opts)
Get a map of the Perforce server's counters.
|
java.util.Map<java.lang.String,java.lang.String> getCounters(GetCountersOptions opts) throws P4JavaException
opts
- GetCountersOptions object describing optional parameters; if
null, no options are set.P4JavaException
- if an error occurs processing this method and its parameters.java.util.Map<java.lang.String,java.lang.String> getCounters() throws ConnectionException, RequestException, AccessException
ConnectionException
- 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 callerIServer
@Deprecated java.util.Map<java.lang.String,java.lang.String> getCounters(CounterOptions opts) throws P4JavaException
getCounters(com.perforce.p4java.option.server.GetCountersOptions)
opts
- CounterOptions object describing optional parameters; if null,
no options are set.P4JavaException
- if an error occurs processing this method and its parameters.