class ListRunningIngestsActionHandler extends ActionHandler {

    @Override
    public ItemStatus execute(WorkerParameters params, HandlerIO handler) {
        final ItemStatus itemStatus = new ItemStatus(HANDLER_ID);

        try {
            listRunningIngests(handler);
            itemStatus.increment(StatusCode.OK);
        } catch (ProcessingException e) {
            LOGGER.error("Processing exception", e);
            itemStatus.increment(StatusCode.FATAL);
        } catch (InvalidParseOperationException e) {
            LOGGER.error("Cannot parse json", e);
            itemStatus.increment(StatusCode.KO);
        }
        return new ItemStatus(HANDLER_ID).setItemsStatus(HANDLER_ID, itemStatus);
    }

    public  ListRunningIngestsActionHandler();
    @VisibleForTesting public  ListRunningIngestsActionHandler(
        ProcessingManagementClientFactory processingManagementClientFactory);

}