Uses of Interface
com.sun.sgs.service.Transaction

Packages that use Transaction
com.sun.sgs.kernel Provides the core system interfaces used by the RedDwarf Server. 
com.sun.sgs.service Provides interfaces and classes for services provided by the RedDwarf Server. 
com.sun.sgs.service.store Provides interfaces and classes for pluggable data stores of DataService implementations. 
 

Uses of Transaction in com.sun.sgs.kernel
 

Methods in com.sun.sgs.kernel that return Transaction
 Transaction AccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 

Methods in com.sun.sgs.kernel with parameters of type Transaction
 Transaction AccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 void AccessReporter.reportObjectAccess(Transaction txn, T objId, AccessReporter.AccessType type)
          Reports to the coordinator that object access has been requested in the context of the provided transaction.
 void AccessReporter.reportObjectAccess(Transaction txn, T objId, AccessReporter.AccessType type, Object description)
          Reports to the coordinator that an object access with the provided description has been requested in the context of the provided transaction.
 void AccessReporter.setObjectDescription(Transaction txn, T objId, Object description)
          In the provided transaction, associates the given object with some description that should have a meaningful toString method.
 

Uses of Transaction in com.sun.sgs.service
 

Methods in com.sun.sgs.service that return Transaction
 Transaction TransactionProxy.getCurrentTransaction()
          Returns the current transaction state.
 

Methods in com.sun.sgs.service with parameters of type Transaction
 void TransactionParticipant.abort(Transaction txn)
          Tells the participant to abort its involvement with the given transaction.
 void TransactionParticipant.commit(Transaction txn)
          Tells the participant to commit its state associated with the given transaction.
 boolean TransactionParticipant.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 void TransactionParticipant.prepareAndCommit(Transaction txn)
          Tells the participant to both prepare and commit its state associated with the given transaction.
 

Uses of Transaction in com.sun.sgs.service.store
 

Methods in com.sun.sgs.service.store with parameters of type Transaction
 long DataStore.createObject(Transaction txn)
          Reserves an object ID for a new object.
 long DataStore.getBinding(Transaction txn, String name)
          Obtains the object ID bound to a name.
 int DataStore.getClassId(Transaction txn, byte[] classInfo)
          Returns the class ID to represent classes with the specified class information.
 byte[] DataStore.getClassInfo(Transaction txn, int classId)
          Returns the class information associated with the specified class ID.
 byte[] DataStore.getObject(Transaction txn, long oid, boolean forUpdate)
          Obtains the data associated with an object ID.
 void DataStore.markForUpdate(Transaction txn, long oid)
          Notifies the DataStore that an object is going to be modified.
 String DataStore.nextBoundName(Transaction txn, String name)
          Returns the next name after the specified name that has a binding, or null if there are no more bound names.
 long DataStore.nextObjectId(Transaction txn, long oid)
          Returns the object ID for the next object after the object with the specified ID, or -1 if there are no more objects.
 void DataStore.removeBinding(Transaction txn, String name)
          Removes the binding for a name.
 void DataStore.removeObject(Transaction txn, long oid)
          Removes the object with the specified object ID.
 void DataStore.setBinding(Transaction txn, String name, long oid)
          Binds an object ID to a name.
 void DataStore.setBindingDescription(Transaction txn, String name, Object description)
          Associates a description with a bound name, for use in describing name accesses.
 void DataStore.setObject(Transaction txn, long oid, byte[] data)
          Specifies data to associate with an object ID.
 void DataStore.setObjectDescription(Transaction txn, long oid, Object description)
          Associates a description with an object ID, for use in describing object accesses.
 void DataStore.setObjects(Transaction txn, long[] oids, byte[][] dataArray)
          Specifies data to associate with a series of object IDs.
 


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