return luceneBackendQueueProcessor.getExclusiveWriteLock();
}
private static void assertLegacyOptionsNotUsed(Properties props, String indexName) {
MaskedProperty jgroupsCfg = new MaskedProperty( props, "worker.backend.jgroups" );
if ( jgroupsCfg.containsKey( "configurationFile" )
|| jgroupsCfg.containsKey( "configurationXml" )
|| jgroupsCfg.containsKey( "configurationString" )
|| jgroupsCfg.containsKey( "clusterName" ) ) {
throw log.legacyJGroupsConfigurationDefined( indexName );
}