class RaftActorRecoverySupport {

    private void onDeleteEntries(final DeleteEntries deleteEntries) {
        if (context.getPersistenceProvider().isRecoveryApplicable()) {
            replicatedLog().removeFrom(deleteEntries.getFromIndex());
        } else {
            dataRecoveredWithPersistenceDisabled = true;
        }
    }

      RaftActorRecoverySupport(final RaftActorContext context, final RaftActorRecoveryCohort cohort);

}