Refine search
@Override public boolean allObjUids(String typeName, InputObjectState foundInstances) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.allObjUids("+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return allObjUids(typeName, foundInstances, StateStatus.OS_UNKNOWN); }
/** * Read the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return the state of the object. */ @Override public InputObjectState read_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.read_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.read_committed(u, typeName); }
/** * Remove the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean remove_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.remove_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.remove_committed(u, typeName); }
/** * Write a new copy of the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @param buff The state to write. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean write_committed(Uid u, String typeName, OutputObjectState buff) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.write_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.write_committed(u, typeName, buff); }
/** * @param u The object to query. * @param typeName The type of the object to query. * @return the current state of the object's state (e.g., shadowed, * committed ...) [StateStatus] */ @Override public int currentState(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.currentState("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); if( store.contains(u, typeName)) { return StateStatus.OS_COMMITTED; } else { return StateStatus.OS_UNKNOWN; } }
typeName = ensureTypenamePrefix(typeName); Uid[] uids = store.getUidsForType(typeName); // may contain trailing null elements
/** * Read the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return the state of the object. */ @Override public InputObjectState read_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.read_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.read_committed(u, typeName); }
/** * Remove the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean remove_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.remove_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.remove_committed(u, typeName); }
/** * Write a new copy of the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @param buff The state to write. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean write_committed(Uid u, String typeName, OutputObjectState buff) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.write_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.write_committed(u, typeName, buff); }
/** * @param u The object to query. * @param typeName The type of the object to query. * @return the current state of the object's state (e.g., shadowed, * committed ...) [StateStatus] */ @Override public int currentState(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.currentState("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); if( store.contains(u, typeName)) { return StateStatus.OS_COMMITTED; } else { return StateStatus.OS_UNKNOWN; } }
typeName = ensureTypenamePrefix(typeName); Uid[] uids = store.getUidsForType(typeName); // may contain trailing null elements
@Override public boolean allObjUids(String typeName, InputObjectState foundInstances) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.allObjUids("+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return allObjUids(typeName, foundInstances, StateStatus.OS_UNKNOWN); }
/** * Read the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return the state of the object. */ @Override public InputObjectState read_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.read_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.read_committed(u, typeName); }
/** * Remove the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean remove_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.remove_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.remove_committed(u, typeName); }
/** * Write a new copy of the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @param buff The state to write. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean write_committed(Uid u, String typeName, OutputObjectState buff) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.write_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.write_committed(u, typeName, buff); }
/** * @param u The object to query. * @param typeName The type of the object to query. * @return the current state of the object's state (e.g., shadowed, * committed ...) [StateStatus] */ @Override public int currentState(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.currentState("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); if( store.contains(u, typeName)) { return StateStatus.OS_COMMITTED; } else { return StateStatus.OS_UNKNOWN; } }
typeName = ensureTypenamePrefix(typeName); Uid[] uids = store.getUidsForType(typeName); // may contain trailing null elements
@Override public boolean allObjUids(String typeName, InputObjectState foundInstances) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.allObjUids("+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return allObjUids(typeName, foundInstances, StateStatus.OS_UNKNOWN); }
/** * Read the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return the state of the object. */ @Override public InputObjectState read_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.read_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.read_committed(u, typeName); }
/** * Remove the object's committed state. * * @param u The object to work on. * @param typeName The type of the object to work on. * @return <code>true</code> if no errors occurred, <code>false</code> * otherwise. */ @Override public boolean remove_committed(Uid u, String typeName) throws ObjectStoreException { if(tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("HornetqObjectStore.remove_committed("+u+", "+typeName+")"); } typeName = ensureTypenamePrefix(typeName); return store.remove_committed(u, typeName); }