|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.trendmicro.grid.acl.l0.ServerStatisticsRestService
@Service public class ServerStatisticsRestService
Implements a REST service that provides the values offered by the server statistics service.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.trendmicro.grid.acl.l0.Level0RestService |
---|
Level0RestService.RestUtil |
Constructor Summary | |
---|---|
ServerStatisticsRestService()
|
Method Summary | |
---|---|
UsageStatisticsCollection |
getCollectedUsageStatistics(String nodeName)
Delegates to ServerStatisticsService.getCollectedUsageStatistics() . |
UsageStatistics |
getCurrentUsageStatistics(String nodeName)
Delegates to ServerStatisticsService.getCurrentUsageStatistics() . |
NameList |
getNodeNames()
Returns the node names (=node-addresses) of all ACL nodes within a cache cluster. |
UsageStatistics |
getOverallUsageStatistics(String nodeName)
Delegates to ServerStatisticsService.getOverallUsageStatistics() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerStatisticsRestService()
Method Detail |
---|
public NameList getNodeNames()
public UsageStatistics getOverallUsageStatistics(String nodeName)
ServerStatisticsService.getOverallUsageStatistics()
.
The rest service optionally accepts to specify a node name allowing to retrieve the value from
another node than the one it connected to.
(This allows cross site scripting on this particular service,
which is needed to display multiple node's data on a single page)
nodeName
- the optional name of the node (defaults to 'localhost').
public UsageStatistics getCurrentUsageStatistics(String nodeName)
ServerStatisticsService.getCurrentUsageStatistics()
.
The rest service optionally accepts to specify a node name allowing to retrieve the value from
another node than the one it connected to.
(This allows cross site scripting on this particular service,
which is needed to display multiple node's data on a single page)
nodeName
- the optional name of the node (defaults to 'localhost').
public UsageStatisticsCollection getCollectedUsageStatistics(String nodeName)
ServerStatisticsService.getCollectedUsageStatistics()
.
The rest service optionally accepts to specify a node name allowing to retrieve the value from
another node than the one it connected to.
(This allows cross site scripting on this particular service,
which is needed to display multiple node's data on a single page)
nodeName
- the optional name of the node (defaults to 'localhost').
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |