@Override public void afterFailure(Throwable t) { processors.remove(processor); // the processor stopped with failure, this is logging the first processor's failure as the cause of // the whole application failure if (failure.compareAndSet(null, t)) { // shutdown the other processors processors.forEach(StreamProcessor::stop); } // handle the current processor's shutdown failure. handleProcessorShutdown(t); }
@Override public void afterFailure(Throwable t) { processors.remove(processor); // the processor stopped with failure, this is logging the first processor's failure as the cause of // the whole application failure if (failure.compareAndSet(null, t)) { // shutdown the other processors processors.forEach(StreamProcessor::stop); } // handle the current processor's shutdown failure. handleProcessorShutdown(t); }
@Override public void afterFailure(Throwable t) { processors.remove(processor); // the processor stopped with failure, this is logging the first processor's failure as the cause of // the whole application failure if (failure.compareAndSet(null, t)) { // shutdown the other processors processors.forEach(StreamProcessor::stop); } // handle the current processor's shutdown failure. handleProcessorShutdown(t); }
@Override public void afterFailure(Throwable t) { processors.remove(processor); // the processor stopped with failure, this is logging the first processor's failure as the cause of // the whole application failure if (failure.compareAndSet(null, t)) { // shutdown the other processors processors.forEach(StreamProcessor::stop); } // handle the current processor's shutdown failure. handleProcessorShutdown(t); }
@Override public void afterFailure(Throwable t) { processors.remove(processor); // the processor stopped with failure, this is logging the first processor's failure as the cause of // the whole application failure if (failure.compareAndSet(null, t)) { // shutdown the other processors processors.forEach(StreamProcessor::stop); } // handle the current processor's shutdown failure. handleProcessorShutdown(t); }
@Override public void afterStop() { processors.remove(processor); // successful shutdown handleProcessorShutdown(null); }
@Override public void afterStop() { processors.remove(processor); // successful shutdown handleProcessorShutdown(null); }
@Override public void afterStop() { processors.remove(processor); // successful shutdown handleProcessorShutdown(null); }
@Override public void afterStop() { processors.remove(processor); // successful shutdown handleProcessorShutdown(null); }
@Override public void afterStop() { processors.remove(processor); // successful shutdown handleProcessorShutdown(null); }