#pragma once #include #include #include #include /** * Creates work packages to notify waiting clients/processes about file lock grants. */ class LockingNotifier { public: static void notifyWaitersEntryLock(LockEntryNotifyType lockType, const std::string& parentEntryID, const std::string& entryID, bool isBuddyMirrored, LockEntryNotifyList notifyList); static void notifyWaitersRangeLock(const std::string& parentEntryID, const std::string& entryID, bool isBuddyMirrored, LockRangeNotifyList notifyList); private: LockingNotifier() {} };