Tries to acquire the WriteLock on this directory. this method is only valid if this IndexReader is directory
owner.
if another writer has this index open (
CopyC# could not be
obtained)
Namespace: Lucene.Net.Index
write.lock
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
protected internal override void AcquireWriteLock() |
Visual Basic |
---|
Protected Friend Overrides Sub AcquireWriteLock |
Visual C++ |
---|
protected public: virtual void AcquireWriteLock() override |