8#ifndef INCLUDE_INFINISPAN_HOTROD_COUNTEREVENT_H_
9#define INCLUDE_INFINISPAN_HOTROD_COUNTEREVENT_H_
67 counterName(counterName), action(action) {
70 counterName(counterName) {
77 const std::string counterName;
Definition: CounterEvent.h:32
const long oldValue
Definition: CounterEvent.h:46
const std::string counterName
Definition: CounterEvent.h:42
const long newValue
Definition: CounterEvent.h:56
CounterEvent(std::string counterName, const long oldValue, const CounterState oldState, const long newValue, const CounterState newState)
Definition: CounterEvent.h:34
const CounterState oldState
Definition: CounterEvent.h:51
const CounterState newState
Definition: CounterEvent.h:61
Definition: CounterEvent.h:64
CounterListener(const std::string counterName)
Definition: CounterEvent.h:69
virtual ~CounterListener()
Definition: CounterEvent.h:75
virtual void onUpdate(const CounterEvent entry) const
Definition: CounterEvent.h:72
CounterListener(const std::string counterName, std::function< void(const CounterEvent)> action)
Definition: CounterEvent.h:66
CounterState
Definition: CounterEvent.h:17
@ VALID
Definition: CounterEvent.h:21
@ LOWER_BOUND_REACHED
Definition: CounterEvent.h:25
@ UPPER_BOUND_REACHED
Definition: CounterEvent.h:29
Definition: AuthenticationConfiguration.h:10