Path: / {BASE} / statistics / enabled

Return the status of statistics gathering.


Method Summary
ResourceDescription
PUT /{BASE}/statistics/enabled?value=…Enable or disable the statistics gathering.
GET /{BASE}/statistics/enabledReturn the status of statistics gathering.

Method Detail
HTTP Example:
PUT /{BASE}/statistics/enabled?value=…

API Example:

StatisticsWebService.setEnabled({'value': /* enabled if true, statistics gathering will be enabled, if false, it will be disabled */});

Enable or disable the statistics gathering. If enabled, might cause additional overhead in execution.

Output:
javax.ws.rs.core.Response - OK when changing the statistics setting was successful
Query parameters:
value - if true, statistics gathering will be enabled, if false, it will be disabled
HTTP return codes:
200 - when the statistics gathering has been enabled or disabled successfully
HTTP Example:
GET /{BASE}/statistics/enabled

API Example:

StatisticsWebService.isEnabled({});

Return the status of statistics gathering.

Output:
boolean - Returns true if statistics gathering is enabled, false if it is disabled.