private static boolean removeMe(Uid uid) { try { return getStore().remove_committed(uid, _pseudoTypeName); } catch (ObjectStoreException exo) { // this shouldn't happen, because we shouldn't be looking for a factory // that was never recorded jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.recovery.contact.FactoryContactItem_7", new Object[] {exo}); } return false; }
private static boolean removeMe(Uid uid) { try { return getStore().remove_committed(uid, _pseudoTypeName); } catch (ObjectStoreException exo) { // this shouldn't happen, because we shouldn't be looking for a factory // that was never recorded jtsLogger.i18NLogger.warn_recovery_contact_FactoryContactItem_7(exo); } return false; } }
public ExpiredContactScanner () { if (jtsLogger.loggerI18N.isDebugEnabled()) { jtsLogger.loggerI18N.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "com.arjuna.ats.internal.jts.recovery.ExpiredContactScanner_1", new Object[]{Integer.toString(_expiryTime)}); } _objectStore = FactoryContactItem.getStore(); _itemTypeName = FactoryContactItem.getTypeName(); }
private boolean saveMe () { try { OutputObjectState objstate = new OutputObjectState(); if (save_state(objstate)) { getStore().write_committed(_uid, _pseudoTypeName, objstate); return true; } } catch (ObjectStoreException exo) { jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.recovery.contact.FactoryContactItem_1", new Object[] {exo}); } return false; }
private boolean saveMe () { try { OutputObjectState objstate = new OutputObjectState(); if (save_state(objstate)) { getStore().write_committed(_uid, _pseudoTypeName, objstate); return true; } } catch (ObjectStoreException exo) { jtsLogger.i18NLogger.warn_recovery_contact_FactoryContactItem_1(exo); } return false; }
private boolean restoreMe() { try { InputObjectState objstate = getStore().read_committed(_uid, _pseudoTypeName); if (objstate == null) // not in object store any more return false; if (restore_state(objstate)) { return true; } jtsLogger.i18NLogger.warn_recovery_contact_FactoryContactItem_5(); } catch (ObjectStoreException exo) { // this shouldn't happen, because we shouldn't be looking for a factory // that was never recorded jtsLogger.i18NLogger.warn_recovery_contact_FactoryContactItem_6(); } return false; }
private boolean restoreMe() { try { InputObjectState objstate = getStore().read_committed(_uid, _pseudoTypeName); if (objstate == null) // not in object store any more return false; if ( restore_state(objstate)) { return true; } jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.recovery.contact.FactoryContactItem_5"); } catch (ObjectStoreException exo) { // this shouldn't happen, because we shouldn't be looking for a factory // that was never recorded jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.recovery.contact.FactoryContactItem_6"); } return false; }