Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_24.1/page/index.html

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

◆addToCounter()

virtual bool Vertica::CounterController::addToCounter(int counterIndex, vint value)

pure virtual Add a value to counter

◆getCounterValue()

virtual bool Vertica::CounterController::getCounterValue(int counterIndex, vint & value)

pure virtual Get the current value of the counter

◆recordTimestamp()

virtual bool Vertica::CounterController::recordTimestamp(int counterIndex)

pure virtual Save the current time to the counter

◆resetTimer()

virtual bool Vertica::CounterController::resetTimer(int counterIndex)

pure virtual Clear a time counter

◆setCounterValue()

virtual bool Vertica::CounterController::setCounterValue(int counterIndex, vint value)

pure virtual Set counter to a value

◆startTimer()

virtual bool Vertica::CounterController::startTimer(int counterIndex)

pure virtual Start a time counter

◆stopTimer()

virtual bool Vertica::CounterController::stopTimer(int counterIndex)

pure virtual Stop a time counter