C# Class Lucene.Net.Store.TestLock.LockMock

Inheritance: Lock
显示文件 Open project: synhershko/lucene.net

Public Properties

Property Type Description
lockAttempts int

Public Methods

Method Description
IsLocked ( ) : bool
LockMock ( TestLock enclosingInstance ) : System
Obtain ( ) : bool
Release ( ) : void

Private Methods

Method Description
InitBlock ( TestLock enclosingInstance ) : void

Method Details

IsLocked() public method

public IsLocked ( ) : bool
return bool

LockMock() public method

public LockMock ( TestLock enclosingInstance ) : System
enclosingInstance TestLock
return System

Obtain() public method

public Obtain ( ) : bool
return bool

Release() public method

public Release ( ) : void
return void

Property Details

lockAttempts public_oe property

public int lockAttempts
return int