Infinispan HotRod C++ Client  8.3.1.Final
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
17 namespace infinispan {
18 namespace hotrod {
19 
21 public:
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_ */
Definition: RemoteCounterManager.h:20
#define HR_EXTERN
Definition: ImportExport.h:35
Definition: CounterConfiguration.h:28
virtual ~RemoteCounterManager()
Definition: RemoteCounterManager.h:97