C# Class Deveel.Data.Transactions.Locker

ファイルを表示 Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
CheckAccess ( ILockable lockables, AccessType accessType, int timeout ) : void
Dispose ( ) : void
IsLocked ( ILockable lockable ) : bool
Lock ( ILockable lockables, AccessType accessType, LockingMode mode ) : LockHandle
Locker ( IDatabase database ) : System
Unlock ( LockHandle handle ) : void

Private Methods

Method Description
AddToHandle ( LockHandle handle, ILockable lockables, AccessType accessType, LockingMode mode ) : void
Dispose ( bool disposing ) : void
GetQueueFor ( ILockable lockable ) : LockingQueue

Method Details

CheckAccess() public method

public CheckAccess ( ILockable lockables, AccessType accessType, int timeout ) : void
lockables ILockable
accessType AccessType
timeout int
return void

Dispose() public method

public Dispose ( ) : void
return void

IsLocked() public method

public IsLocked ( ILockable lockable ) : bool
lockable ILockable
return bool

Lock() public method

public Lock ( ILockable lockables, AccessType accessType, LockingMode mode ) : LockHandle
lockables ILockable
accessType AccessType
mode LockingMode
return LockHandle

Locker() public method

public Locker ( IDatabase database ) : System
database IDatabase
return System

Unlock() public method

public Unlock ( LockHandle handle ) : void
handle LockHandle
return void