Description
It would be nice to be able to pause the background async indexer, this is mostly for debugging purposes.
I see it as a 'pause' flag exposed via jmx which would act as a global setting (not index specific, it would block all existing async indexers). The methods exposed would be: pause and resume.
Setting the flag would simply turn the runnable into a noop but the task will still get called, I'm not planning on messing around with stopping and starting background threads.