Class LockManager
Facade for calling locking APIs from client code
Inheritance
System.Object
LockManager
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Sky.Locking
Assembly: Azos.Sky.dll
Syntax
public sealed class LockManager : LockManagerBase, IDaemon, IDaemonView, INamed, ILocalizedTimeProvider, ILockManagerImplementation, ILockManager, IApplicationComponent, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
LockManager(IApplicationComponent)
Declaration
public LockManager(IApplicationComponent director)
Parameters
Type | Name | Description |
---|---|---|
IApplicationComponent | director |
LockManager(IApplication)
Declaration
public LockManager(IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |
Methods
DoEndLockSession(LockSession)
Declaration
protected override bool DoEndLockSession(LockSession session)
Parameters
Type | Name | Description |
---|---|---|
LockSession | session |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
DoEndLockSessionAsync(LockSession)
Declaration
protected override Task<bool> DoEndLockSessionAsync(LockSession session)
Parameters
Type | Name | Description |
---|---|---|
LockSession | session |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Overrides
DoExecuteLockTransaction(LockSession, LockTransaction)
Declaration
protected override LockTransactionResult DoExecuteLockTransaction(LockSession session, LockTransaction transaction)
Parameters
Type | Name | Description |
---|---|---|
LockSession | session | |
LockTransaction | transaction |
Returns
Type | Description |
---|---|
LockTransactionResult |
Overrides
DoExecuteLockTransactionAsync(LockSession, LockTransaction)
Declaration
protected override Task<LockTransactionResult> DoExecuteLockTransactionAsync(LockSession session, LockTransaction transaction)
Parameters
Type | Name | Description |
---|---|---|
LockSession | session | |
LockTransaction | transaction |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LockTransactionResult> |
Overrides
Implements
System.IDisposable