Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Inherits Lucene.Net.Store.Lock.
Public Member Functions | |
override bool | Obtain () |
Attempts to obtain exclusive access and immediately return upon success or failure. | |
override void | Release () |
Releases exclusive access. | |
override bool | IsLocked () |
Returns true if the resource is currently locked. Note that one must still call Obtain() before using the resource. | |
override System.String | ToString () |
Public Member Functions inherited from Lucene.Net.Store.Lock | |
virtual bool | Obtain (long lockWaitTimeout) |
Attempts to obtain an exclusive lock within amount of time given. Polls once per LOCK_POLL_INTERVAL (currently 1000) milliseconds until lockWaitTimeout is passed. | |
Additional Inherited Members | |
Public Attributes inherited from Lucene.Net.Store.Lock | |
const long | LOCK_OBTAIN_WAIT_FOREVER = - 1 |
Pass this value to Obtain(long) to try forever to obtain the lock. | |
Static Public Attributes inherited from Lucene.Net.Store.Lock | |
static long | LOCK_POLL_INTERVAL = 1000 |
How long Obtain(long) waits, in milliseconds, in between attempts to acquire the lock. | |
Definition at line 55 of file NoLockFactory.cs.
|
virtual |
Returns true if the resource is currently locked. Note that one must still call Obtain() before using the resource.
Implements Lucene.Net.Store.Lock.
Definition at line 66 of file NoLockFactory.cs.
|
virtual |
Attempts to obtain exclusive access and immediately return upon success or failure.
Implements Lucene.Net.Store.Lock.
Definition at line 57 of file NoLockFactory.cs.
|
virtual |
Releases exclusive access.
Implements Lucene.Net.Store.Lock.
Definition at line 62 of file NoLockFactory.cs.
override System.String Lucene.Net.Store.NoLock.ToString | ( | ) |
Definition at line 71 of file NoLockFactory.cs.