public boolean forgetHeuristic() { if (log.isTraceEnabled()) log.tracef("forgetting heuristic for %s", participantURI); try { new TxSupport().httpRequest(new int[] {HttpURLConnection.HTTP_OK, HttpURLConnection.HTTP_NO_CONTENT}, this.participantURI, "DELETE", null); status = TxStatus.TransactionStatusUnknown; } catch (HttpResponseException e) { return false; } return super.forgetHeuristic(); }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean removeFromList(RecordList rl) { if (rl != null && rl.size() > 0 && rec != null) { boolean forgotten = forgetRec || rec.forgetHeuristic(); boolean removeAllowed = arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); if (forgotten || removeAllowed) { // remove the transaction log for the record if (rl.remove(rec)) { removed = true; return true; } } } return false; } }
public boolean forgetHeuristic() { try { if (!isForgotten()) forget(); } catch (org.omg.CORBA.SystemException ignore) { } if (isForgotten() || (rec != null && rec.forgetHeuristic())) return true; return arjPropertyManager.getObjectStoreEnvironmentBean().isIgnoreMBeanHeuristics(); } }
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; }
if (recordBeingHandled.forgetHeuristic()) recordBeingHandled = null; else
if (recordBeingHandled.forgetHeuristic()) recordBeingHandled = null; else
if (rec.forgetHeuristic())