void remove ( RowCursor cursor ) { boolean isValid ; do { isValid = true ; try ( JournalOutputStream os = openItem ( ) ) { os . write ( CODE_REMOVE ) ; cursor . getKey ( _buffer , 0 ) ; os . write ( _buffer , 0 , getKeyLength ( ) ) ; try { BitsUtil . writeLong ( os , cursor . getVersion ( ) ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } isValid = os . complete ( ) ; } } while ( ! isValid ) ; }
Writes the remove to the journal .