Package org.zaproxy.clientapi.gen
Class Stats
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.StatsDeprecated
org.zaproxy.clientapi.gen.Stats
This file was automatically generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallSitesStats
(String keyprefix) Gets all of the site based statistics, optionally filtered by a key prefixclearStats
(String keyprefix) Clears all of the statisticsReturns 'true' if in memory statistics are enabled, otherwise returns 'false'Returns 'true' if a Statsd server has been correctly configured, otherwise returns 'false'Gets the Statsd service hostnameGets the Statsd service portGets the prefix to be applied to all stats sent to the configured Statsd servicesetOptionInMemoryEnabled
(boolean bool) Sets whether in memory statistics are enabledsetOptionStatsdHost
(String string) Sets the Statsd service hostname, supply an empty string to stop using a Statsd servicesetOptionStatsdPort
(int i) Sets the Statsd service portsetOptionStatsdPrefix
(String string) Sets the prefix to be applied to all stats sent to the configured Statsd serviceGets all of the global statistics, optionally filtered by a key prefixStatisticsMethods inherited from class org.zaproxy.clientapi.gen.deprecated.StatsDeprecated
clearStats, setOptionInMemoryEnabled, setOptionStatsdHost, setOptionStatsdPort, setOptionStatsdPrefix
-
Constructor Details
-
Stats
-
-
Method Details
-
stats
Statistics- Throws:
ClientApiException
-
allSitesStats
Gets all of the site based statistics, optionally filtered by a key prefix- Throws:
ClientApiException
-
siteStats
Gets all of the global statistics, optionally filtered by a key prefix- Throws:
ClientApiException
-
optionStatsdHost
Gets the Statsd service hostname- Throws:
ClientApiException
-
optionStatsdPort
Gets the Statsd service port- Throws:
ClientApiException
-
optionStatsdPrefix
Gets the prefix to be applied to all stats sent to the configured Statsd service- Throws:
ClientApiException
-
optionInMemoryEnabled
Returns 'true' if in memory statistics are enabled, otherwise returns 'false'- Throws:
ClientApiException
-
optionStatsdEnabled
Returns 'true' if a Statsd server has been correctly configured, otherwise returns 'false'- Throws:
ClientApiException
-
clearStats
Clears all of the statistics- Throws:
ClientApiException
-
setOptionStatsdHost
Sets the Statsd service hostname, supply an empty string to stop using a Statsd service- Throws:
ClientApiException
-
setOptionStatsdPrefix
Sets the prefix to be applied to all stats sent to the configured Statsd service- Throws:
ClientApiException
-
setOptionInMemoryEnabled
Sets whether in memory statistics are enabled- Throws:
ClientApiException
-
setOptionStatsdPort
Sets the Statsd service port- Throws:
ClientApiException
-