public static void printStateType (PrintWriter strm, int res) { strm.print(stateTypeString(res)); }
"HashedStore.genPathName("+objUid+", "+tName+", "+ObjectStore.stateTypeString(otype)+")");
/** * @return the file name for the state of the object identified by the Uid * and TypeName. If the StateType argument is OS_SHADOW then the Uid * part of the name includes # characters. Builds on lower level * genPathName which allocates enough slop to accomodate the extra * chars. */ protected String genPathName (Uid objUid, String tName, int ft) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PROTECTED, FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.genPathName("+objUid+", "+tName+", "+ObjectStore.stateTypeString(ft)+")"); } String fname = super.genPathName(objUid, tName, ft); if (ft == ObjectStore.OS_SHADOW) fname = fname + SHADOWCHAR; return fname; }
/** * We don't actually delete the state entry, only change its type. */ protected boolean remove_state(Uid objUid, String name, int ft) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PROTECTED, FacilityCode.FAC_OBJECT_STORE, "JDBCStore.remove_state(" + objUid + ", " + name + ", " + ObjectStore.stateTypeString(ft) + ")"); } if (!storeValid()) return false; else return _theImple.remove_state(objUid, name, ft, getTableName()); }
FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.write_state(" + objUid + ", " + tName + ", " + ObjectStore.stateTypeString(ft) + ")");
FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.write_state("+objUid+", "+tName+", "+ObjectStore.stateTypeString(ft)+")");
FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.read_state("+objUid+", "+tName+", "+ObjectStore.stateTypeString(ft)+")");
FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.remove_state("+objUid+", "+name+", "+ObjectStore.stateTypeString(ft)+")");