}
public void addClassToDirectoryProvider(Class<?> entity, DirectoryProvider<?> directoryProvider,
boolean exclusiveIndexUsage, int maximumQueueSize) {
final Map<DirectoryProvider<?>, DirectoryProviderData> dirProviderData = factoryState.getDirectoryProviderData();
DirectoryProviderData data = dirProviderData.get( directoryProvider );
if ( data == null ) {
data = new DirectoryProviderData();
dirProviderData.put( directoryProvider, data );
}
data.getClasses().add( entity );
data.setExclusiveIndexUsage( exclusiveIndexUsage );
data.setMaxQueueLength( maximumQueueSize );
}