/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
/** * See if there is participant Bean corresponding to the given record * @param rec the record for the target participant * @return the bean corresponding to the requested record */ public LogRecordWrapper getParticipant(AbstractRecord rec) { for (LogRecordWrapper w : participants) if (w.getRecord().equals(rec)) return w; return null; }
@Override public void remove(LogRecordWrapper logRecordWrapper) { RecordList rl = getRecords(logRecordWrapper.getListType()); if (rl != null && rl.size() > 0) { if (rl.remove(logRecordWrapper.getRecord())) { doUpdateState(); // rewrite the list } } }
@Override public void remove(LogRecordWrapper logRecordWrapper) { RecordList rl = getRecords(logRecordWrapper.getListType()); if (rl != null && rl.size() > 0) { if (rl.remove(logRecordWrapper.getRecord())) { doUpdateState(); // rewrite the list } } }
@Override public void remove(LogRecordWrapper logRecordWrapper) { RecordList rl = getRecords(logRecordWrapper.getListType()); if (rl != null && rl.size() > 0) { if (rl.remove(logRecordWrapper.getRecord())) { doUpdateState(); // rewrite the list } } }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper) { if (rl != null && rl.size() > 0) { AbstractRecord ar = logRecordWrapper.getRecord(); boolean forgotten = ar.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(ar)) { return true; } } } return false; }
AbstractRecord targRecord = logrec.getRecord();