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;
78 const std::function<void(const CounterEvent)> action;
Definition: CounterEvent.h:25
Definition: CounterEvent.h:64
virtual void onUpdate(const CounterEvent entry) const
Definition: CounterEvent.h:72
CounterState
Definition: CounterEvent.h:17
Definition: CounterEvent.h:29
const std::string counterName
Definition: CounterEvent.h:42
Definition: CounterEvent.h:32
const long oldValue
Definition: CounterEvent.h:46
CounterListener(const std::string counterName, std::function< void(const CounterEvent)> action)
Definition: CounterEvent.h:66
const long newValue
Definition: CounterEvent.h:56
Definition: AuthenticationConfiguration.h:10
Definition: CounterEvent.h:21
CounterListener(const std::string counterName)
Definition: CounterEvent.h:69
virtual ~CounterListener()
Definition: CounterEvent.h:75
const CounterState oldState
Definition: CounterEvent.h:51
const CounterState newState
Definition: CounterEvent.h:61
CounterEvent(std::string counterName, const long oldValue, const CounterState oldState, const long newValue, const CounterState newState)
Definition: CounterEvent.h:34