public static void printStateStatus (PrintWriter strm, int res) { strm.print(stateStatusString(res)); }
System.out.print(ObjectStore.stateStatusString(imple.currentState(theUid, theName))); System.out.println();
+ " state is "); System.out.print(ObjectStore .stateStatusString(imple .currentState( theUid,
/** * @return current state of object. Assumes that genPathName allocates * enough extra space to allow extra chars to be added. Action * stores only store committed objects * @message com.arjuna.ats.internal.arjuna.objectstore.ActionStore_1 * [com.arjuna.ats.internal.arjuna.objectstore.ActionStore_1] - * ActionStore.currentState({0}, {1}) - returning {2} */ public int currentState (Uid objUid, String tName) throws ObjectStoreException { int theState = ObjectStore.OS_UNKNOWN; if (storeValid()) { String path = genPathName(objUid, tName, ObjectStore.OS_ORIGINAL); if (exists(path)) theState = ObjectStore.OS_COMMITTED; path = null; } if (tsLogger.arjLoggerI18N.isDebugEnabled()) { tsLogger.arjLoggerI18N.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "com.arjuna.ats.internal.arjuna.objectstore.ActionStore_1", new Object[] { objUid, tName, ObjectStore.stateStatusString(theState) }); } return theState; }
new Object[] { objUid, tName, ObjectStore.stateStatusString(theState) });