private synchronized int getStartingMessageId ( final Follower follower ) { if ( this . isFollowerActive ( follower ) ) { return this . runningFollowerStartMarks . getInt ( follower ) ; } else if ( this . isFollowerTerminated ( follower ) ) { return this . terminatedFollowerRanges . get ( follower ) [ 0 ] ; } else { throw new IllegalStateException ( "Follower never before seen." ) ; } }
For a given follower return the starting mark .