C# Class Deveel.Data.Transactions.LockingQueue

Exibir arquivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
NewLock ( LockingMode mode, AccessType accessType ) : Lock
Release ( Lock @lock ) : void

Private Methods

Method Description
Acquire ( Lock @lock ) : void
CheckAccess ( Lock @lock, int timeout ) : void
LockingQueue ( IDatabase database, ILockable lockable ) : System
TimeoutException ( ILockable lockable, AccessType accessType, int timeout ) : LockTimeoutException

Method Details

NewLock() public method

public NewLock ( LockingMode mode, AccessType accessType ) : Lock
mode LockingMode
accessType AccessType
return Lock

Release() public method

public Release ( Lock @lock ) : void
@lock Lock
return void