112113114115116117118
/* (non-Javadoc) * @see org.hornetq.core.journal.impl.JournalReaderCallback#onReadDeleteRecord(long) */ public void onReadDeleteRecord(final long recordID) throws Exception { writeEncoder(new JournalDeleteRecord(recordID)); }
9909919929939949959969979989991000
{ throw new IllegalStateException("Cannot find add info " + id + " on compactor or current records"); } } JournalInternalRecord deleteRecord = new JournalDeleteRecord(id); if (callback != null) { callback.storeLineUp(); }
912913914915916917918919920921922
{ throw new IllegalStateException("Cannot find add info " + id); } } JournalInternalRecord deleteRecord = new JournalDeleteRecord(id); if (callback != null) { callback.storeLineUp(); }
116117118119120121122123
} @Override public void appendDeleteRecord(long id, boolean sync, IOCompletion callback) throws Exception { JournalInternalRecord deleteRecord = new JournalDeleteRecord(id); writeRecord(deleteRecord, sync, callback); }
907908909910911912913914915916917
910911912913914915916917918919920
126127128129130131132133