public class Stats extends StatsDeprecated
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
allSitesStats(java.lang.String keyprefix)
Gets all of the site based statistics, optionally filtered by a key prefix
|
ApiResponse |
clearStats(java.lang.String keyprefix)
Clears all of the statistics
|
ApiResponse |
optionInMemoryEnabled()
Returns 'true' if in memory statistics are enabled, otherwise returns 'false'
|
ApiResponse |
optionStatsdEnabled()
Returns 'true' if a Statsd server has been correctly configured, otherwise returns 'false'
|
ApiResponse |
optionStatsdHost()
Gets the Statsd service hostname
|
ApiResponse |
optionStatsdPort()
Gets the Statsd service port
|
ApiResponse |
optionStatsdPrefix()
Gets the prefix to be applied to all stats sent to the configured Statsd service
|
ApiResponse |
setOptionInMemoryEnabled(boolean bool)
Sets whether in memory statistics are enabled
|
ApiResponse |
setOptionStatsdHost(java.lang.String string)
Sets the Statsd service hostname, supply an empty string to stop using a Statsd service
|
ApiResponse |
setOptionStatsdPort(int i)
Sets the Statsd service port
|
ApiResponse |
setOptionStatsdPrefix(java.lang.String string)
Sets the prefix to be applied to all stats sent to the configured Statsd service
|
ApiResponse |
siteStats(java.lang.String site,
java.lang.String keyprefix)
Gets all of the global statistics, optionally filtered by a key prefix
|
ApiResponse |
stats(java.lang.String keyprefix)
Statistics
|
clearStats, setOptionInMemoryEnabled, setOptionStatsdHost, setOptionStatsdPort, setOptionStatsdPrefixpublic Stats(ClientApi api)
public ApiResponse stats(java.lang.String keyprefix) throws ClientApiException
ClientApiExceptionpublic ApiResponse allSitesStats(java.lang.String keyprefix) throws ClientApiException
ClientApiExceptionpublic ApiResponse siteStats(java.lang.String site, java.lang.String keyprefix) throws ClientApiException
ClientApiExceptionpublic ApiResponse optionStatsdHost() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionStatsdPort() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionStatsdPrefix() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionInMemoryEnabled() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionStatsdEnabled() throws ClientApiException
ClientApiExceptionpublic ApiResponse clearStats(java.lang.String keyprefix) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionStatsdHost(java.lang.String string) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionStatsdPrefix(java.lang.String string) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionInMemoryEnabled(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionStatsdPort(int i) throws ClientApiException
ClientApiException