![]() ![]() | Pass this value to {@link #Obtain(long)} to try forever to obtain the lock. |
![]() ![]() | How long {@link #Obtain(long)} waits, in milliseconds, in between attempts to acquire the lock. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Returns true if the resource is currently locked. Note that one must still call {@link #Obtain()} before using the resource. |
![]() | Overloaded. Attempts to obtain exclusive access and immediately return upon success or failure. |
![]() | Releases exclusive access. |
![]() | Returns a String that represents the current Object. |
![]() |
Initializes a new instance of the Lock class. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
![]() | If a lock obtain called, this failureReason may be set with the "root cause" Exception as to why the lock was not obtained. |
Lock Class | Lucene.Net.Store Namespace