DotLucene 1.4 API Documentation |

# Lock.With Constructor

Constructs an executor that will grab the named lock. Defaults lockWaitTimeout to Lock.COMMIT_LOCK_TIMEOUT.

#### Overload List

Constructs an executor that will grab the named lock. Defaults lockWaitTimeout to Lock.COMMIT_LOCK_TIMEOUT.

> public Lock.With(Lock);

Constructs an executor that will grab the named lock.

> public Lock.With(Lock,long);

#### See Also

Lock.With Class | Lucene.Net.Store Namespace