this.maxQueueLength = CommonPropertiesParse.extractMaxQueueSize( indexName, props );
this.queueingExecutor = Executors.newFixedThreadPool( 1, "Index updates queue processor for index " + indexName, maxQueueLength );
this.workersExecutor = BackendFactory.buildWorkersExecutor( props, indexName );
ReentrantReadWriteLock readWriteLock = new ReentrantReadWriteLock();
readLock = readWriteLock.readLock();
writeLock = readWriteLock.writeLock();
}
private LuceneBackendResources(LuceneBackendResources previous) {
this.indexName = previous.indexName;
this.errorHandler = previous.errorHandler;