class EventProcessorResultListener {

    @EventListener
    public void on(EventProcessorEvents.MergeSegmentsSucceeded event) {
        refresh(event.context(), event.clientId(), event.processorName());
    }

    @Autowired public  EventProcessorResultListener(EventProcessorStatusRefresh refreshEventProcessorStatus,
                                        EventProcessorIdentifierProvider eventProcessorIdentifierProvider);
    public  EventProcessorResultListener(BiConsumer<String, EventProcessorIdentifier> refreshOperation,
                                        ProcessorProvider eventProcessorIdentifierProvider);

}