class ReplicatedLogImpl extends AbstractReplicatedLogImpl {

    @Override
    public boolean removeFromAndPersist(final long logEntryIndex) {
        long adjustedIndex = removeFrom(logEntryIndex);
        if (adjustedIndex >= 0) {
            context.getPersistenceProvider().persist(new DeleteEntries(logEntryIndex), NoopProcedure.instance());
            return true;
        }

        return false;
    }

    private  ReplicatedLogImpl(final long snapshotIndex, final long snapshotTerm,
            final List<ReplicatedLogEntry> unAppliedEntries,
            final RaftActorContext context);

}