{@link CrawlProfiles Crawl Profiles} are saved independently from the queues themselvesand therefore have to be cleaned up from time to time. This method only performs the clean-up if - and only if - the {@link IndexingStack switchboard}, {@link LoaderDispatcher loader} and {@link plasmaCrawlNURL local crawl} queues are all empty.
Then it iterates through all existing {@link CrawlProfiles crawl profiles} and removesall profiles which are not hard-coded.
If this method encounters DB-failures, the profile DB will be reseted and true
will be returned
@see #CRAWL_PROFILE_PROXY hardcoded
@see #CRAWL_PROFILE_REMOTE hardcoded
@see #CRAWL_PROFILE_SNIPPET_TEXT hardcoded
@see #CRAWL_PROFILE_SNIPPET_MEDIA hardcoded
@return whether this method has done something or not (i.e. because the queues have been filledor there are no profiles left to clean up)
@throws
InterruptedException if the current thread has been interrupted, i.e. by theshutdown procedure