Namespace Azos.Sky.Locking
Classes
LocalTestingLockManager
Used for testing, facade for calling locking APIs from client code into server that is hosted in the same process
LockingException
Thrown to indicate problems related to distributed locking/mutexes
LockManager
Facade for calling locking APIs from client code
LockManagerBase
Base for Facades used for calling locking APIs from client code
LockOp
Represents operations of locking transaction
LockOp.AbortOp
Unconditionally aborts the processing
LockOp.AndOp
LockOp.AnywayContinueAfterOp
Ignores the result of a change operation whether it returns true or false and continues
LockOp.AssertOp
Asserts the condition and aborts if it is not true
LockOp.BinaryOperatorOp
LockOp.BlockOp
Block of statements
LockOp.ChangeOp
Represents a change to the state, returns true if change succeeds, false otherwise
LockOp.DeleteVarOp
Deletes the named variable in table that this session has created, true if it was deleted, false if it did not exist or was not created by this session
LockOp.ExistsOp
Returns true if the named variable exists.
LockOp.FalseOp
Dummy operator that always returns false
LockOp.FlowOp
LockOp.IfOp
Conditional statement
LockOp.NotOp
Reverses the boolean value of the operand
LockOp.Op
LockOp.OperatorOp
LockOp.OrOp
LockOp.SelectConstantValueOp
Returns the constant value as a named key which is returned back to the client
LockOp.SelectOp
LockOp.SelectOperatorValueOp
Returns the value of operator as a named key which is returned back to the client
LockOp.SelectVarValueOp
Returns the value of a named variable either a a single or Variable[] object. Optionally aborts if variable was not set
LockOp.SetVarOp
Sets the named variable in table, return true if var was set, false if conflict happened
LockOp.StatementOp
LockOp.TrueOp
Dummy operator that always returns true
LockOp.UnaryOperatorOp
LockOp.XorOp
LockSession
Represents a session on a remote lock server under which lock transactions gets executed. Obtain an instance from local LockManager.MakeSession()
LockTransaction
Represents a transaction that gets atomically applied to the remote locking server
LockTransactionResult
Represents a result of locking operation performed by ILockManager. If transaction selects some results then this class enumerates all key value pairs that may contain duplicate names
NOPLockManager
Structs
LockSessionID
Identifies a locking session
Interfaces
ILockManager
Defines operations of distributed lock manager
ILockManagerImplementation
Denotes implementations of ILockManager
Enums
LockErrorCause
Provides transaction execution error causes
LockStatus
Denotes statuses of transaction execution