Lucene.Net.Index.IndexWriter.BlockAddIndexes C# (CSharp) Method

BlockAddIndexes() private method

private BlockAddIndexes ( bool includePendingClose ) : void
includePendingClose bool
return void
		private void  BlockAddIndexes(bool includePendingClose)
		{
			
			AcquireRead();
			
			bool success = false;
			try
			{
				
				// Make sure we are still open since we could have
				// waited quite a while for last addIndexes to finish
				EnsureOpen(includePendingClose);
				success = true;
			}
			finally
			{
				if (!success)
					ReleaseRead();
			}
		}
		
IndexWriter