/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }
/** * @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; } }