Infinispan HotRod C++ Client 9.2.0.Final
Loading...
Searching...
No Matches
RemoteCounterManager.h
Go to the documentation of this file.
1/*
2 * CounterManager.h
3 *
4 * Created on: May 3, 2018
5 * Author: rigazilla
6 */
7
8#ifndef INCLUDE_INFINISPAN_HOTROD_REMOTECOUNTERMANAGER_H_
9
13
14#include <string>
15#include <set>
16
17namespace infinispan {
18namespace hotrod {
19
21public:
37 virtual std::shared_ptr<StrongCounter> getStrongCounter(std::string name) = 0;
38
54 virtual std::shared_ptr<WeakCounter> getWeakCounter(std::string name) = 0;
55
65 virtual bool defineCounter(std::string name, CounterConfiguration configuration) = 0;
66
71 virtual bool isDefined(std::string name) = 0;
72
77 virtual CounterConfiguration getConfiguration(std::string counterName) = 0;
78
88 virtual void remove(std::string counterName) = 0;
89
95 virtual std::set<std::string> getCounterNames() = 0;
96
98 }
99 ;
100};
101
102}
103}
104#define INCLUDE_INFINISPAN_HOTROD_REMOTECOUNTERMANAGER_H_
105
106#endif /* INCLUDE_INFINISPAN_HOTROD_COUNTERMANAGER_H_ */
#define HR_EXTERN
Definition: ImportExport.h:35
Definition: CounterConfiguration.h:28
Definition: RemoteCounterManager.h:20
virtual CounterConfiguration getConfiguration(std::string counterName)=0
virtual std::set< std::string > getCounterNames()=0
virtual bool isDefined(std::string name)=0
virtual void remove(std::string counterName)=0
virtual std::shared_ptr< WeakCounter > getWeakCounter(std::string name)=0
virtual ~RemoteCounterManager()
Definition: RemoteCounterManager.h:97
virtual bool defineCounter(std::string name, CounterConfiguration configuration)=0
virtual std::shared_ptr< StrongCounter > getStrongCounter(std::string name)=0
Definition: AuthenticationConfiguration.h:10