public void addState ( ) { DiffHistoryDataState nextState = new DiffHistoryDataState ( stateEngine , typeDiffInstructions ) ; if ( currentDataState != null ) newHistoricalState ( currentDataState , nextState ) ; currentDataState = nextState ; }
Call this method after new data has been loaded by the FastBlobStateEngine . This will add a historical record of the differences between the previous state and this new state .