com.microstrategy.web.objects.admin.monitors.Counter |
![]() |
This interface represents a Counter object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getHelpMessage()
Returns the help message for the counter.
| ||||||||||
abstract String |
getLocalizedHelpMessage(Locale locale)
Returns localized help message.
| ||||||||||
abstract String |
getLocalizedName(Locale locale)
Returns the localized name of the counter
| ||||||||||
abstract String |
getName()
Returns the name of the counter.
| ||||||||||
abstract Instance |
getOwnerInstance()
Returns the
Instance to which this counter belongs to. | ||||||||||
abstract CounterData |
getValue()
Returns a
CounterData object containing the last data value collected for this counter. | ||||||||||
abstract CounterDataList |
getValues()
Returns a counter data list.
| ||||||||||
abstract boolean |
isLogged()
Conveys if logging is enabled for this counter.
| ||||||||||
abstract boolean |
isLoggedToStats()
Conveys if logging to Statistic is enabled for this counter.
|
Returns the help message for the counter. This is an optional string containing additional information about the counter.
Returns localized help message.
locale | Locale The locale to localize to. |
---|
Returns the localized name of the counter
locale | Locale The locale to localize to. |
---|
Returns the name of the counter.
Returns the Instance
to which this counter belongs to.
Returns a CounterData
object containing the last data value collected for this counter.
Note that the counter must be monitored in order for this to exist.
CounterData
object containing the last data value collected.
Returns a counter data list. The counter data list represents a snapshot of the data values history, at the time when this method is called. Thus, to get updated
archived values, this method can be used periodically. The number of data values archived depends on the value of historySize set on the PerformanceMonitorManager
using setHistorySize(int)
. Note that if the historySize is increased, each subsequent call to
this method will return snapshots whose size (length of their data values archive) reflects incremental growth with each new data collection from IServer (happens at times fixed by setListRefresh(int)
till the archive length equals the historySize set.
Conveys if logging is enabled for this counter.
Conveys if logging to Statistic is enabled for this counter.