if (! lr.isCTRL())
if (isEOB() || !isCTRL()) break; } while (filterCtrlRecords == true);
if (isEOB() || !isCTRL()) break; } while (filterCtrlRecords == true);
if (isEOB() || !isCTRL()) break; } while (filterCtrlRecords == true);
if (!lr.isCTRL() && tmListener != null) { tmListener.onRecord(lr); return;
if (!lr.isCTRL() && tmListener != null) { tmListener.onRecord(lr); return;
if (!lr.isCTRL() && tmListener != null) { tmListener.onRecord(lr); return;
/** * @see org.apache.activeio.journal.Journal#getNextRecordLocation(org.codehaus.activemq.journal.RecordLocation) */ public RecordLocation getNextRecordLocation(RecordLocation lastLocation) throws InvalidRecordLocationException { if( lastLocation ==null ) { if( this.lastMark !=null ) { lastLocation = lastMark; } else { return null; } } try { while(true) { LogRecord record = logger.get(null, toLong(lastLocation)); // I assume getNext will return null if there is no next record. LogRecord next = logger.getNext(record); if( next==null || next.length == 0 ) return null; lastLocation = new LongRecordLocation(next.key); if( !next.isCTRL() ) return lastLocation; } } catch (Exception e) { throw (InvalidRecordLocationException)new InvalidRecordLocationException().initCause(e); } }
else if (!record.isCTRL() || replayCtrlRecords) { listener.onRecord(record);
else if (!record.isCTRL() || replayCtrlRecords) { listener.onRecord(record);
else if (!record.isCTRL() || replayCtrlRecords) { listener.onRecord(record);