@Override public String remove() { return remove(true); } }
@Override public String remove() throws MBeanException { return super.remove(); // note the remove should invoke the forget operation }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() { return remove(true); } }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() { return remove(true); } }
@Override public String remove() throws MBeanException { return super.remove(); // note the remove should invoke the forget operation }
@Override public String remove() throws MBeanException { return super.remove(); // note the remove should invoke the forget operation }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() throws MBeanException { return remove(true); }
@Override public String remove() throws MBeanException { return super.remove(); // note the remove should invoke the forget operation }
@Override public String remove() throws MBeanException { if (forget()) return super.remove(); return "Operation in progress"; } }
@Override public String remove() throws MBeanException { if (forget()) return super.remove(); return "Operation in progress"; } }
@Override public String remove() throws MBeanException { if (forget()) return super.remove(); return "Operation in progress"; } }
@Override public String remove() throws MBeanException { if (forget()) return super.remove(); return "Operation in progress"; } }
@Override public String remove() throws MBeanException { if (forget()) { if (jtsXAResourceRecord != null && jtsXAResourceRecord.doRemove()) jtsXAResourceRecord = null; // resource#forget succeeded so now it is ok to remove the inlined ExtendedResourceRecord forgetRec = true; return super.remove(); } return "Operation failed"; }
/** * Remove this AtomicAction from the ObjectStore * @return a textual indication of whether the remove operation succeeded */ public String remove() { // first unregister each participant of this action Iterator<LogRecordWrapper> i = participants.iterator(); while (i.hasNext()) { LogRecordWrapper w = i.next(); w.remove(false); i.remove(); } try { if (!StoreManager.getRecoveryStore().remove_committed(getUid(), getType())) return "Attempt to remove transaction failed"; _uidWrapper.unregister(); return "Transaction successfully removed"; } catch (ObjectStoreException e) { return "Unable to remove transaction: " + e.getMessage(); } finally { _uidWrapper.probe(); } }
/** * Remove this AtomicAction from the ObjectStore * @return a textual indication of whether the remove operation succeeded */ public String remove() { // first unregister each participant of this action Iterator<LogRecordWrapper> i = participants.iterator(); while (i.hasNext()) { LogRecordWrapper w = i.next(); w.remove(false); i.remove(); } try { if (!StoreManager.getRecoveryStore().remove_committed(getUid(), getType())) return "Attempt to remove transaction failed"; _uidWrapper.unregister(); return "Transaction successfully removed"; } catch (ObjectStoreException e) { return "Unable to remove transaction: " + e.getMessage(); } finally { _uidWrapper.probe(); } }