Show / Hide Table of Contents

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 Source

Add(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

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX