Interface Counter
- 
- All Known Implementing Classes:
- AbstractCounter
 
 public interface CounterThis interface represents a Counter object.- Since:
- MicroStrategy Web 7.5.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHelpMessage()Returns the help message for the counter.java.lang.StringgetLocalizedHelpMessage(java.util.Locale locale)Returns localized help message.java.lang.StringgetLocalizedName(java.util.Locale locale)Returns the localized name of the counterjava.lang.StringgetName()Returns the name of the counter.InstancegetOwnerInstance()Returns theInstanceto which this counter belongs to.CounterDatagetValue()Returns aCounterDataobject containing the last data value collected for this counter.CounterDataListgetValues()Returns a counter data list.booleanisLogged()Conveys if logging is enabled for this counter.booleanisLoggedToStats()Conveys if logging to Statistic is enabled for this counter.
 
- 
- 
- 
Method Detail- 
getNamejava.lang.String getName() Returns the name of the counter.- Returns:
- The name of the counter.
 
 - 
getLocalizedNamejava.lang.String getLocalizedName(java.util.Locale locale) Returns the localized name of the counter- Parameters:
- locale- Locale The locale to localize to.
- Returns:
- String The localized counter name.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
getValueCounterData getValue() Returns aCounterDataobject containing the last data value collected for this counter. Note that the counter must be monitored in order for this to exist.- Returns:
- A CounterDataobject containing the last data value collected.
 
 - 
getHelpMessagejava.lang.String getHelpMessage() Returns the help message for the counter. This is an optional string containing additional information about the counter.- Returns:
- The help message for the counter, if one exists.
 
 - 
getLocalizedHelpMessagejava.lang.String getLocalizedHelpMessage(java.util.Locale locale) Returns localized help message.- Parameters:
- locale- Locale The locale to localize to.
- Returns:
- String The localized help message.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
getOwnerInstanceInstance getOwnerInstance() Returns theInstanceto which this counter belongs to.- Returns:
- The instance to which this counter belongs to.
 
 - 
getValuesCounterDataList getValues() 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 thePerformanceMonitorManagerusingPerformanceMonitorManager.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 byPerformanceMonitorManager.setListRefresh(int)till the archive length equals the historySize set.- Returns:
- CounterDataList the counter data list.
 
 - 
isLoggedboolean isLogged() Conveys if logging is enabled for this counter.- Returns:
- boolean True if logging is enabled for this counter.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
isLoggedToStatsboolean isLoggedToStats() Conveys if logging to Statistic is enabled for this counter.- Returns:
- boolean True if logging to Statistic is enabled for this counter.
- Since:
- MicroStrategy Web 9.0.0
 
 
- 
 
-