Interface ILockCleanupTask
An interface for a background task that removes expired locks
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface ILockCleanupTask
Methods
| Improve this Doc View SourceAdd(ILockManager, IActiveLock)
Adds a lock to be tracked by this cleanup task.
Declaration
void Add([NotNull] ILockManager lockManager, [NotNull] IActiveLock activeLock)
Parameters
Type | Name | Description |
---|---|---|
ILockManager | lockManager | The lock manager that created this active lock. |
IActiveLock | activeLock | The active lock to track |
Remove(IActiveLock)
Removes the active lock so that it isn't tracked any more by this cleanup task.
Declaration
void Remove([NotNull] IActiveLock activeLock)
Parameters
Type | Name | Description |
---|---|---|
IActiveLock | activeLock | The active lock to remove |