@ Override public void recover ( ) { try { this . messages . clear ( ) ; this . dataLogger . prepareForRead ( ) ; this . dataLogger . recover ( this ) ; } catch ( Exception e ) { throw new DelegatedRuntimeException ( e ) ; } }
recovers the dataRecorder all messages are removed and all the messsages of the logger are recoverd