updateStalled

fun updateStalled(stalled: Boolean)

Update the stalled flag status. This method will set the stalled flag to true iff the number of flushing DocumentsWriterPerThread is greater than the number of active DocumentsWriterPerThread. Otherwise it will reset the [ ] to healthy and release all threads waiting on .waitIfStalled