docs: public StateEpisode setStateEpisode(StateEpisode stateEpisode)
      {
          this.stateEpisodeLock.writeLock().lock();
      	StateEpisode lastEpisode = this.stateEpisode;
          this.stateEpisode = stateEpisode;
          this.stateEpisodeLock.writeLock().unlock();
          return lastEpisode;
      }