src/main/java/com/stijndepestel/geminio/Replay.java
/**
     * Start the replay, will load all events into a queue and start replaying
     * them.
     */
Start the replay, will load all events into a queue and start replaying
them.
Start the replay will load all events into a queue and start replaying them .
public void startReplay() {
        if (this.currentState != State.LOADED) {
            throw new IllegalStateException(Replay.ERROR_MESSAGE);
        }
        this.queue = new PriorityQueue<>(this.loadedEvents);
        this.currentState = State.REPLAYING;
        this.replayCounter = 0;
        this.replayStart = System.currentTimeMillis();
        new Thread(this::replay).start();
    }
public void startReplay ( ) { if ( this . currentState != State . LOADED ) { throw new IllegalStateException ( Replay . ERROR_MESSAGE ) ; } this . queue = new PriorityQueue < > ( this . loadedEvents ) ; this . currentState = State . REPLAYING ; this . replayCounter = 0 ; this . replayStart = System . currentTimeMillis ( ) ; new Thread ( this :: replay ) . start ( ) ; }
Start the replay, will load all events into a queue and start replaying
 them.
Start the replay will load all events into a queue and start replaying them .
// start replay in a thread