New upstream version 8.1.0
This commit is contained in:
24
mon/source/components/CleanUp.h
Normal file
24
mon/source/components/CleanUp.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef CLEANUP_H_
|
||||
#define CLEANUP_H_
|
||||
|
||||
#include <common/threading/PThread.h>
|
||||
#include <common/nodes/NodeStoreServers.h>
|
||||
|
||||
class App;
|
||||
|
||||
class CleanUp : public PThread
|
||||
{
|
||||
public:
|
||||
CleanUp(App* app);
|
||||
|
||||
private:
|
||||
App* const app;
|
||||
virtual void run() override;
|
||||
void loop();
|
||||
void dropIdleConns();
|
||||
unsigned dropIdleConnsByStore(NodeStoreServers* nodes);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif /* CLEANUP_H_ */
|
||||
Reference in New Issue
Block a user