|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DbDatabase | |
|---|---|
| com.sun.sgs.impl.service.data.store | Provides facilities for storing objects used by DataServiceImpl. |
| com.sun.sgs.impl.service.data.store.db.bdb | Provides an implementation of the interfaces in the com.sun.sgs.service.store.db package based on Berkeley
DB. |
| com.sun.sgs.impl.service.data.store.db.je | Provides an implementation of the interfaces in the com.sun.sgs.service.store.db package based on Berkeley DB Java
Edition. |
| com.sun.sgs.service.store.db | Provides a database abstraction layer for use by the default implementation
of the DataStore class. |
| Uses of DbDatabase in com.sun.sgs.impl.service.data.store |
|---|
| Fields in com.sun.sgs.impl.service.data.store declared as DbDatabase | |
|---|---|
(package private) DbDatabase |
DataStoreImpl.oidsDb
The database that maps object IDs to object bytes. |
| Methods in com.sun.sgs.impl.service.data.store that return DbDatabase | |
|---|---|
DbDatabase |
DbUtilities.Databases.classes()
Returns the classes database. |
DbDatabase |
DbUtilities.Databases.info()
Returns the info database. |
DbDatabase |
DbUtilities.Databases.names()
Returns the names database. |
DbDatabase |
DbUtilities.Databases.oids()
Returns the object IDs database. |
| Methods in com.sun.sgs.impl.service.data.store with parameters of type DbDatabase | |
|---|---|
(package private) static void |
DataStoreHeader.create(DbDatabase db,
DbTransaction dbTxn)
Stores header information in the database. |
static int |
DbUtilities.getClassId(DbEnvironment env,
DbDatabase classesDb,
byte[] classInfo,
long timeout)
Returns the class ID to represent classes with the specified class information. |
static byte[] |
DbUtilities.getClassInfo(DbEnvironment env,
DbDatabase classesDb,
int classId,
long timeout)
Returns the class information associated with the specified class ID. |
(package private) static long |
DataStoreHeader.getNextId(long key,
DbDatabase db,
DbTransaction dbTxn,
long increment)
Returns the next available ID stored under the specified key, and increments the stored value by the specified amount, which must be greater than zero. |
static long |
DbUtilities.getNextNodeId(DbDatabase infoDb,
DbTransaction dbTxn,
int blockSize)
Returns the next available node ID and increments the stored value by the specified amount. |
static long |
DbUtilities.getNextObjectId(DbDatabase infoDb,
DbTransaction dbTxn,
int blockSize)
Returns the next available object ID and increments the stored value by the specified amount. |
(package private) static int |
DataStoreHeader.verify(DbDatabase db,
DbTransaction dbTxn)
Verifies the header information in the database, and returns its minor version number. |
| Uses of DbDatabase in com.sun.sgs.impl.service.data.store.db.bdb |
|---|
| Classes in com.sun.sgs.impl.service.data.store.db.bdb that implement DbDatabase | |
|---|---|
class |
BdbDatabase
Provides a database implementation using Berkeley DB. |
| Methods in com.sun.sgs.impl.service.data.store.db.bdb that return DbDatabase | |
|---|---|
DbDatabase |
BdbEnvironment.openDatabase(DbTransaction txn,
String fileName,
boolean create)
Opens a database. |
| Uses of DbDatabase in com.sun.sgs.impl.service.data.store.db.je |
|---|
| Classes in com.sun.sgs.impl.service.data.store.db.je that implement DbDatabase | |
|---|---|
class |
JeDatabase
Provides a database implementation using Berkeley DB Java Edition. |
| Methods in com.sun.sgs.impl.service.data.store.db.je that return DbDatabase | |
|---|---|
DbDatabase |
JeEnvironment.openDatabase(DbTransaction txn,
String fileName,
boolean create)
Opens a database. |
| Uses of DbDatabase in com.sun.sgs.service.store.db |
|---|
| Methods in com.sun.sgs.service.store.db that return DbDatabase | |
|---|---|
DbDatabase |
DbEnvironment.openDatabase(DbTransaction txn,
String fileName,
boolean create)
Opens a database. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||