Uses of Interface
com.sun.sgs.service.store.db.DbTransaction

Packages that use DbTransaction
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 DbTransaction in com.sun.sgs.impl.service.data.store
 

Methods in com.sun.sgs.impl.service.data.store with parameters of type DbTransaction
(package private) static void DataStoreHeader.create(DbDatabase db, DbTransaction dbTxn)
          Stores header information in the database.
static DbUtilities.Databases DbUtilities.getDatabases(DbEnvironment env, DbTransaction dbTxn, LoggerWrapper logger)
          Opens or creates the Berkeley DB databases for a data store.
(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 DbTransaction in com.sun.sgs.impl.service.data.store.db.bdb
 

Classes in com.sun.sgs.impl.service.data.store.db.bdb that implement DbTransaction
(package private)  class BdbTransaction
          Provides a transaction implementation using Berkeley DB.
 

Methods in com.sun.sgs.impl.service.data.store.db.bdb that return DbTransaction
 DbTransaction BdbEnvironment.beginTransaction(long timeout)
          Begins a new transaction with the specified timeout and the implementation-specific default isolation level.
 DbTransaction BdbEnvironment.beginTransaction(long timeout, boolean fullIsolation)
          Begins a transaction with the specified timeout and isolation level.
 

Methods in com.sun.sgs.impl.service.data.store.db.bdb with parameters of type DbTransaction
 boolean BdbDatabase.delete(DbTransaction txn, byte[] key)
          Removes the value associated with a key in this database.
 byte[] BdbDatabase.get(DbTransaction txn, byte[] key, boolean forUpdate)
          Gets the value associated with a key in this database.
(package private) static com.sleepycat.db.Transaction BdbTransaction.getBdbTxn(DbTransaction dbTxn)
          Converts the argument to a Berkeley DB transaction.
 void BdbDatabase.markForUpdate(DbTransaction txn, byte[] key)
          Locks the key and associated value for update.
 DbCursor BdbDatabase.openCursor(DbTransaction txn)
          Returns a cursor for iterating over the contents of this database.
 DbDatabase BdbEnvironment.openDatabase(DbTransaction txn, String fileName, boolean create)
          Opens a database.
 void BdbDatabase.put(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, regardless of whether the key already has an associated value.
 boolean BdbDatabase.putNoOverwrite(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, but only if the key does not already have an associated value.
 

Uses of DbTransaction in com.sun.sgs.impl.service.data.store.db.je
 

Classes in com.sun.sgs.impl.service.data.store.db.je that implement DbTransaction
(package private)  class JeTransaction
          Provides a transaction implementation using Berkeley DB Java Edition.
 

Methods in com.sun.sgs.impl.service.data.store.db.je that return DbTransaction
 DbTransaction JeEnvironment.beginTransaction(long timeout)
          Begins a new transaction with the specified timeout and the implementation-specific default isolation level.
 DbTransaction JeEnvironment.beginTransaction(long timeout, boolean fullIsolation)
          Begins a transaction with the specified timeout and isolation level.
 

Methods in com.sun.sgs.impl.service.data.store.db.je with parameters of type DbTransaction
 boolean JeDatabase.delete(DbTransaction txn, byte[] key)
          Removes the value associated with a key in this database.
 byte[] JeDatabase.get(DbTransaction txn, byte[] key, boolean forUpdate)
          Gets the value associated with a key in this database.
(package private) static com.sleepycat.je.Transaction JeTransaction.getJeTxn(DbTransaction dbTxn)
          Converts the argument to a Berkeley DB transaction.
 void JeDatabase.markForUpdate(DbTransaction txn, byte[] key)
          Locks the key and associated value for update.
 DbCursor JeDatabase.openCursor(DbTransaction txn)
          Returns a cursor for iterating over the contents of this database.
 DbDatabase JeEnvironment.openDatabase(DbTransaction txn, String fileName, boolean create)
          Opens a database.
 void JeDatabase.put(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, regardless of whether the key already has an associated value.
 boolean JeDatabase.putNoOverwrite(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, but only if the key does not already have an associated value.
 

Uses of DbTransaction in com.sun.sgs.service.store.db
 

Methods in com.sun.sgs.service.store.db that return DbTransaction
 DbTransaction DbEnvironment.beginTransaction(long timeout)
          Begins a new transaction with the specified timeout and the implementation-specific default isolation level.
 DbTransaction DbEnvironment.beginTransaction(long timeout, boolean fullIsolation)
          Begins a transaction with the specified timeout and isolation level.
 

Methods in com.sun.sgs.service.store.db with parameters of type DbTransaction
 boolean DbDatabase.delete(DbTransaction txn, byte[] key)
          Removes the value associated with a key in this database.
 byte[] DbDatabase.get(DbTransaction txn, byte[] key, boolean forUpdate)
          Gets the value associated with a key in this database.
 void DbDatabase.markForUpdate(DbTransaction txn, byte[] key)
          Locks the key and associated value for update.
 DbCursor DbDatabase.openCursor(DbTransaction txn)
          Returns a cursor for iterating over the contents of this database.
 DbDatabase DbEnvironment.openDatabase(DbTransaction txn, String fileName, boolean create)
          Opens a database.
 void DbDatabase.put(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, regardless of whether the key already has an associated value.
 boolean DbDatabase.putNoOverwrite(DbTransaction txn, byte[] key, byte[] value)
          Sets the value associated with a key in this database, but only if the key does not already have an associated value.
 


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved