Vertica::CounterController Class Reference
Class to interact with counters.
Collaboration diagram for Vertica::CounterController:
| Public Member Functions | |
|---|---|
| virtual bool | addToCounter (int counterIndex, vint value)=0 |
| virtual bool | getCounterValue (int counterIndex, vint &value)=0 |
| virtual RequestedCounters * | getCurrentCounters ()=0 |
| virtual bool | recordTimestamp (int counterIndex)=0 |
| virtual bool | resetTimer (int counterIndex)=0 |
| virtual bool | setCounterValue (int counterIndex, vint value)=0 |
| virtual bool | startTimer (int counterIndex)=0 |
| virtual bool | stopTimer (int counterIndex)=0 |
Detailed Description
Class to interact with counters.
Member Function Documentation
virtual bool Vertica::CounterController::addToCounter(int counterIndex, vint value)
pure virtual Add a value to counter
virtual bool Vertica::CounterController::getCounterValue(int counterIndex, vint & value)
pure virtual Get the current value of the counter
virtual bool Vertica::CounterController::recordTimestamp(int counterIndex)
pure virtual Save the current time to the counter
virtual bool Vertica::CounterController::resetTimer(int counterIndex)
pure virtual Clear a time counter
virtual bool Vertica::CounterController::setCounterValue(int counterIndex, vint value)
pure virtual Set counter to a value
virtual bool Vertica::CounterController::startTimer(int counterIndex)
pure virtual Start a time counter
virtual bool Vertica::CounterController::stopTimer(int counterIndex)
pure virtual Stop a time counter