Class NOPLockManager
Inheritance
System.Object
NOPLockManager
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)
Assembly: Azos.Sky.dll
Syntax
public sealed class NOPLockManager : ApplicationComponent, ILockManagerImplementation, ILockManager, IApplicationComponent, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
NOPLockManager(IApplication)
Declaration
public NOPLockManager(IApplication app)
Parameters
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ExternalParameters
Declaration
public IEnumerable<KeyValuePair<string, Type>> ExternalParameters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
InstrumentationEnabled
Declaration
public bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Item[LockSessionID]
Declaration
public LockSession this[LockSessionID sid] { get; }
Parameters
Property Value
Methods
Declaration
public void Configure(IConfigSectionNode node)
Parameters
EndLockSession(LockSession)
Declaration
public bool EndLockSession(LockSession session)
Parameters
Returns
Type |
Description |
System.Boolean |
|
EndLockSessionAsync(LockSession)
Declaration
public Task<bool> EndLockSessionAsync(LockSession session)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
ExecuteLockTransaction(LockSession, LockTransaction)
Declaration
public LockTransactionResult ExecuteLockTransaction(LockSession session, LockTransaction transaction)
Parameters
Returns
ExecuteLockTransactionAsync(LockSession, LockTransaction)
Declaration
public Task<LockTransactionResult> ExecuteLockTransactionAsync(LockSession session, LockTransaction transaction)
Parameters
Returns
ExternalGetParameter(String, out Object, String[])
Declaration
public bool ExternalGetParameter(string name, out object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
ExternalParametersForGroups(String[])
Declaration
public IEnumerable<KeyValuePair<string, Type>> ExternalParametersForGroups(params string[] groups)
Parameters
Type |
Name |
Description |
System.String[] |
groups |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
ExternalSetParameter(String, Object, String[])
Declaration
public bool ExternalSetParameter(string name, object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
MakeSession(String, Object, String, Nullable<Int32>)
Declaration
public LockSession MakeSession(string path, object shardingID, string description = null, int? maxAgeSec = default(int? ))
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Object |
shardingID |
|
System.String |
description |
|
System.Nullable<System.Int32> |
maxAgeSec |
|
Returns
Implements
System.IDisposable
Extension Methods