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

Packages that use DbTransaction
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.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