More Central work.
This commit is contained in:
parent
4166d8ca35
commit
c12b68a6b2
6 changed files with 13 additions and 13 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
virtual void eraseMember(const uint64_t networkId,const uint64_t memberId);
|
||||
|
||||
virtual void nodeIsOnline(const uint64_t memberId);
|
||||
virtual void nodeIsOnline(const uint64_t networkId,const uint64_t memberId);
|
||||
|
||||
protected:
|
||||
std::string _host;
|
||||
|
@ -58,7 +58,7 @@ protected:
|
|||
BlockingQueue< nlohmann::json * > _commitQueue;
|
||||
std::thread _commitThread[ZT_CONTROLLER_RETHINKDB_COMMIT_THREADS];
|
||||
|
||||
std::unordered_map< uint64_t,int64_t > _lastOnline;
|
||||
std::unordered_map< std::pair<uint64_t,uint64_t>,int64_t > _lastOnline;
|
||||
mutable std::mutex _lastOnline_l;
|
||||
std::thread _onlineNotificationThread;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue