public String getStoreName() { if (storeValid()) return getAccessClassName() + ":" + getTableName(); else return "Invalid"; }
protected InputObjectState read_state(Uid objUid, String tName, int ft) throws ObjectStoreException { if (!storeValid()) return null; else return _theImple.read_state(objUid, tName, ft, getTableName()); }
public int currentState(Uid objUid, String tName) throws ObjectStoreException { if (storeValid()) return _theImple.currentState(objUid, tName, getTableName()); else return ObjectStore.OS_UNKNOWN; }
protected boolean write_state(Uid objUid, String tName, OutputObjectState state, int s) throws ObjectStoreException { if (!storeValid()) return false; else return _theImple.write_state(objUid, tName, state, s, getTableName()); }
public synchronized void packInto(OutputBuffer buff) throws IOException { buff.packString(getAccessClassName()); buff.packString(getTableName()); }
public boolean allTypes(InputObjectState foundTypes) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "JDBCStore.allTypes(" + foundTypes + ")"); } if (storeValid()) return _theImple.allTypes(foundTypes, getTableName()); else return false; }
public boolean reveal_state(Uid objUid, String tName) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.reveal_state(" + objUid + ", " + tName + ")"); } if (storeValid()) return _theImple.reveal_state(objUid, tName, getTableName()); else return false; }
public boolean hide_state(Uid objUid, String tName) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "ShadowingStore.hide_state(" + objUid + ", " + tName + ")"); } /* Bail out if the object store is not set up */ if (storeValid()) return _theImple.hide_state(objUid, tName, getTableName()); else return false; }
public boolean commit_state(Uid objUid, String tName) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "JDBCStore.commit_state(" + objUid + ", " + tName + ")"); } /* Bail out if the object store is not set up */ if (!storeValid()) return false; else return _theImple.commit_state(objUid, tName, getTableName()); }
public boolean allObjUids(String tName, InputObjectState state, int match) throws ObjectStoreException { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_OBJECT_STORE, "JDBCStore.allObjUids(" + tName + ", " + state + ", " + match + ")"); } if (storeValid()) return _theImple.allObjUids(tName, state, match, getTableName()); else return false; }
/** * 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()); }
"com.arjuna.ats.internal.arjuna.objectstore.JDBCStore_1", new Object[] { getJDBCAccess(), getTableName() });
"com.arjuna.ats.internal.arjuna.objectstore.JDBCStore_1", new Object[] { getJDBCAccess(), getTableName() });