getValue Member Function
Returns the current value of a Meter object counter. After the current value is obtained, the setValue or incrementValue member function can be called to change the value.
Syntax
unsigned __int64 getValue(void);Parameters
- None.
Example
Listener *listener = new Listener("sampleApp", "4.0", NULL, false);
Container *store = listener->lookupContainer("storeName");
Meter *cacheSize = store->lookupMeter("cache size");
unsigned __int64 value = cacheSize->getValue();
...