Uses of Class
org.apache.jdo.impl.fostore.FOStoreDatabaseException

Packages that use FOStoreDatabaseException
org.apache.jdo.impl.fostore This package contains the implementation of the File/Object Store JDO Reference Implementation (FOStore, pronounced "foster"). 
 

Uses of FOStoreDatabaseException in org.apache.jdo.impl.fostore
 

Methods in org.apache.jdo.impl.fostore that throw FOStoreDatabaseException
 void FOStoreClientConnection.closeDatabase()
          Close the database associated with this connection.
(package private) abstract  RequestFinisher RequestHandler.handleRequest()
          Subclasses implement this to take care of individiual requests.
 void FOStoreServerConnection.commit()
          Commits the work done in this connection.
 void FOStoreServerConnection.rollback()
          Rolls back the work done in this connection.
 void FOStoreServerConnection.sendToClient()
          Sends all the reply data to the client.
 void FOStoreServerConnection.openDatabase(java.lang.String dbname, java.lang.String user, long timestamp, byte[] secret, boolean create)
          Log in to the database.
 void FOStoreServerConnection.closeDatabase()
          Close the database.
(package private)  void DBExtent.store(FOStoreDatabase db)
           
static FOStoreDatabase FOStoreDatabase.getDatabase(java.lang.String dbname, boolean create)
          Find an open database of the given name.
 boolean FOStoreDatabase.put(OID key, java.lang.Object value)
          Associates the specified value with the specified key in this index.
 void FOStoreDatabase.replace(OID key, java.lang.Object value)
          Replaces the original value associated with the specified key in this index with new value.
 java.lang.Object FOStoreDatabase.get(OID key)
          Returns the value to which this index maps the specified key.
 java.lang.Object FOStoreDatabase.getIfExists(OID key)
          Returns the value to which this index maps the specified key or null if there is no value for this key.
 java.util.Set FOStoreDatabase.keySet()
          Returns a set view of the keys contained in this index.
 void FOStoreDatabase.add(OID key, java.lang.Object value)
          Adds the specified value to values associated in this index with the specified key.
 boolean FOStoreDatabase.remove(OID key)
          Removes all values assosiated in the index with specified key.
 void FOStoreDatabase.commitChanges()
           
 void FOStoreDatabase.close()
          Decrement the open connections counter and close the database when it reaches zero.
static void FOStoreDatabase.closeDatabase(java.lang.String dbname)
           
 void FOStoreDatabase.rollbackChanges()
           
private  FOStoreBtreeStorage FOStoreDatabase.createBtreeStorage(java.lang.String name, boolean isNew)
          Helper method to create a BtreeStorage.
private  void FOStoreDatabase.closeBtreeStorage(FOStoreBtreeStorage storage)
          Helper method to close a BtreeStorage.
(package private)  void DBInfo.store()
           
(package private) static DBInfo DBInfo.get(FOStoreDatabase db)
           
(package private)  void DBInfo.storeDirtyExtents()
          Stores all extents that have been marked dirty since the last time this method was invoked.
(package private)  RequestFinisher ActivateClassHandler.handleRequest()
           
(package private)  RequestFinisher BeginTxHandler.handleRequest()
           
(package private)  RequestFinisher CommitHandler.handleRequest()
           
(package private)  RequestFinisher CreateOIDHandler.handleRequest()
           
(package private)  void DBClass.setupSubclasses(FOStoreDatabase db)
          Sets up subclass relationships between this DBClass and its superclass DBClass instances.
(package private)  RequestFinisher DeleteHandler.handleRequest()
           
protected abstract  void DumpHandler.DumpOptionSubHandler.run(FOStoreDatabase db, java.lang.String className)
          Must be implemented to dump particular kind of info.
protected  void DumpHandler.DBInfoHandler.run(FOStoreDatabase db, java.lang.String className)
           
protected  void DumpHandler.ClassHandler.run(FOStoreDatabase db, java.lang.String className)
           
(package private)  DBClass[] DumpHandler.ClassHandler.getDBClasses(FOStoreDatabase db, java.lang.String className)
           
(package private) abstract  void DumpHandler.ClassHandler._run(FOStoreDatabase db, java.lang.String className)
          Subclasses must implement, to dump their particular kind of info.
protected  void DumpHandler.ClassMetadataHandler._run(FOStoreDatabase db, java.lang.String className)
           
protected  void DumpHandler.ClassSubclassesHandler._run(FOStoreDatabase db, java.lang.String className)
           
(package private)  RequestFinisher DumpHandler.handleRequest()
           
 void FOStoreLocalConnection.closeDatabase()
          Close the database associated with this connection.
 void FOStoreRemoteConnection.closeDatabase()
          Close the database associated with this connection.
 void FOStoreServerConnectionImpl.commit()
          Commits the work done in this connection.
 void FOStoreServerConnectionImpl.rollback()
          Rolls back the work done in this connection.
 void FOStoreServerConnectionImpl.sendToClient()
           
 void FOStoreServerConnectionImpl.openDatabase(java.lang.String dbname, java.lang.String user, long timestamp, byte[] secret, boolean create)
          Open the database if it exists, and verify the user authentication.
 void FOStoreServerConnectionImpl.closeDatabase()
          Close the database associated with this connection.
 void FOStoreServerConnectionImpl.close()
          Close this connection; release all resources.
(package private)  RequestFinisher FetchHandler.handleRequest()
           
(package private)  RequestFinisher GetClassHandler.handleRequest()
           
(package private)  RequestFinisher GetExtentHandler.handleRequest()
          The desired extent's class can be specified either by CLID (i.e., the class's CLID was already loaded from store to the client) or classname and FSUID (in case the CLID wasn't known).
(package private)  java.util.HashSet GetExtentHandler.getDBExtents(CLID clid, boolean subclasses, FOStoreDatabase db)
          Get a set of CLIDs of extents for the given clid.
(package private)  RequestFinisher GetInstancesHandler.handleRequest()
          Get some instances from the database, and return them.
private  void InsertHandler.InsertFinisher.finishOIDOffsets(byte[] data)
          Replace all provisional OIDs in the data with real OIDs.
private  void InsertHandler.InsertFinisher.finishCLIDOffsets(byte[] data)
          Replace all provisional CLIDs in the data with real CLIDs.
(package private)  RequestFinisher InsertHandler.handleRequest()
           
protected  void InsertHandler.updateDB(OID realOID, OID givenOID, Block block, FOStoreDatabase db)
          Add the block to the database, and to the database's extent.
(package private)  RequestFinisher LoginHandler.handleRequest()
          Process the request by analyzing the database and user login information from the request buffer.
(package private)  RequestFinisher RollbackHandler.handleRequest()
           
(package private)  RequestFinisher UpdateHandler.handleRequest()
           
protected  boolean UpdateHandler.verify(OID oid, boolean verifyFields, Block block)
          Verify before image versus database state of an object.
protected  void UpdateHandler.updateDB(OID realOID, OID provOID, Block block, FOStoreDatabase db)
          Replace a block in the database.
(package private)  RequestFinisher VerifyHandler.handleRequest()
          Verify that instance exists and/or its values match those in the client.
 

Constructors in org.apache.jdo.impl.fostore that throw FOStoreDatabaseException
FOStoreDatabase(java.lang.String name, boolean isNew)
          Create an FODatabase and create/open the files.