class ElectionTermImpl implements ElectionTerm {

    @Override
    public void updateAndPersist(long newTerm, String newVotedFor) {
        update(newTerm, newVotedFor);
        // FIXME : Maybe first persist then update the state
        persistence.persist(new UpdateElectionTerm(this.currentTerm, this.votedFor), NoopProcedure.instance());
    }

      ElectionTermImpl(DataPersistenceProvider persistence, String logId, Logger log);

}