class BatchedPodDeleter implements Consumer<Pod> {

    protected void deletePods(List<Pod> pods)
    {
        try
        {
            logger.info(ReaperMessages.POD_DELETE_ATTEMPT.getMessage(pods.stream().map(pod -> pod.getMetadata().getName()).collect(Collectors.joining(","))));
            kubernetesPodFacade.deletePods(pods);
        }
        catch(Exception e)
        {
            logger.error(ReaperMessages.POD_BATCH_REAP_FAILED.getMessage(), e);
        }
    }

    public  BatchedPodDeleter(KubernetesPodFacade kubernetesPodFacade);

}