/**
* Sets the maximum time to wait for a write lock (in milliseconds) for this
* instance. Note that the value can be zero, for no sleep/retry behavior.
*
* <p>Only takes effect when IndexWriter is first created.
* @deprecated Use {@link SleepingLockWrapper} if you want sleeping.
*/
@Deprecated
public IndexWriterConfig setWriteLockTimeout(long writeLockTimeout) {
this.writeLockTimeout = writeLockTimeout;
return this;
}