Interface ICountersDelegator
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
CountersDelegator,NtsServerImpl,OneShotServerImpl,RpcServer,Server
public interface ICountersDelegator
Defintion of the counters comamnds supported in P4Java.
-
Method Summary
Modifier and TypeMethodDescriptionThis is here to allow access via both IOptionsServer and IServer, the underlying delegator implementation provides the concrete method.getCounters(CounterOptions opts) Deprecated.Get a map of the Perforce server's counters.
-
Method Details
-
getCounters
Get a map of the Perforce server's counters.- Parameters:
opts- GetCountersOptions object describing optional parameters; if null, no options are set.- Returns:
- a non-null (but possibly empty) map of counters.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.- Since:
- 2013.1
-
getCounters
This is here to allow access via both IOptionsServer and IServer, the underlying delegator implementation provides the concrete method.- Returns:
- a non-null (but possibly empty) map of counters. key and value semantics and format are not specified here.
- 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 requestAccessException- if the Perforce server denies access to the caller- See Also:
-
getCounters
Deprecated.As of release 2013.1, replaced bygetCounters(com.perforce.p4java.option.server.GetCountersOptions)Get a map of the Perforce server's counters.- Parameters:
opts- CounterOptions object describing optional parameters; if null, no options are set.- Returns:
- a non-null (but possibly empty) map of counters.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.- Since:
- 2012.2
-
getCounters(com.perforce.p4java.option.server.GetCountersOptions)