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

Packages that use Transaction
com.sun.sgs.impl.kernel Provides an implementation of the RedDwarf Server kernel. 
com.sun.sgs.impl.kernel.logging Provides transactional logging facilities. 
com.sun.sgs.impl.service.channel Provides an implementation of ChannelManager
com.sun.sgs.impl.service.data Provides an implementation of DataService
com.sun.sgs.impl.service.data.store Provides facilities for storing objects used by DataServiceImpl
com.sun.sgs.impl.service.data.store.net Provides an implementation of DataStore that supports clients communicating to a shared data store server over the network. 
com.sun.sgs.impl.service.transaction Provides an implementation of transactions. 
com.sun.sgs.impl.util Provides miscellaneous utility classes and methods. 
com.sun.sgs.impl.util.lock Provides utility classes for managing locks. 
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.impl.kernel
 

Methods in com.sun.sgs.impl.kernel that return Transaction
 Transaction TrackingAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 Transaction NullAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 Transaction LockingAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
(package private) static Transaction ContextResolver.getCurrentTransaction()
          Returns the current Transaction, throwing an exception if there is no currently active transaction or if the currently active transaction has timed out.
 Transaction TransactionProxyImpl.getCurrentTransaction()
          Returns the current transaction state.
 

Methods in com.sun.sgs.impl.kernel with parameters of type Transaction
 void TrackingAccessCoordinator.abort(Transaction txn)
          Tells the participant to abort its involvement with the given transaction.
(package private) static void ContextResolver.clearCurrentTransaction(Transaction transaction)
          Clears the currently active Transaction.
 void TrackingAccessCoordinator.commit(Transaction txn)
          Tells the participant to commit its state associated with the given transaction.
 Transaction TrackingAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 Transaction NullAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
 Transaction LockingAccessCoordinator.getConflictingTransaction(Transaction txn)
          Find out what transaction, if still active, caused the given transaction to fail due to conflict.
(package private)  LockingAccessCoordinator.LockerImpl LockingAccessCoordinator.getLocker(Transaction txn)
          Returns the locker associated with a transaction.
 void TrackingAccessCoordinator.notifyNewTransaction(Transaction txn, long requestedStartTime, int tryCount)
          Notifies the coordinator that a new transaction is starting.
 void NullAccessCoordinator.notifyNewTransaction(Transaction txn, long requestedStartTime, int tryCount)
          Notifies the coordinator that a new transaction is starting.
 void AccessCoordinatorHandle.notifyNewTransaction(Transaction txn, long requestedStartTime, int tryCount)
          Notifies the coordinator that a new transaction is starting.
 void LockingAccessCoordinator.notifyNewTransaction(Transaction txn, long requestedStartTime, int tryCount)
          Notifies the coordinator that a new transaction is starting.
 boolean TrackingAccessCoordinator.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 void TrackingAccessCoordinator.prepareAndCommit(Transaction txn)
          Tells the participant to both prepare and commit its state associated with the given transaction.
 void NullAccessCoordinator.reportObjectAccess(Transaction txn, Object objectId, AccessReporter.AccessType type)
          Reports to the coordinator that object access has been requested in the context of the provided transaction.
 void NullAccessCoordinator.reportObjectAccess(Transaction txn, Object objectId, 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 AbstractAccessCoordinator.AbstractAccessReporter.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.
(package private) static void ContextResolver.setCurrentTransaction(Transaction transaction)
          Sets the current Transaction, throwing an exception if there is already an active transaction.
 void NullAccessCoordinator.setObjectDescription(Transaction txn, Object objectId, Object description)
          In the provided transaction, associates the given object with some description that should have a meaningful toString method.
 

Constructors in com.sun.sgs.impl.kernel with parameters of type Transaction
LockingAccessCoordinator.LockerImpl(TxnLockManager<com.sun.sgs.impl.kernel.LockingAccessCoordinator.Key> lockManager, Transaction txn, long requestedStartTime)
          Creates an instance of this class.
 

Uses of Transaction in com.sun.sgs.impl.kernel.logging
 

Methods in com.sun.sgs.impl.kernel.logging with parameters of type Transaction
 void TransactionalHandler.abort(Transaction txn)
          Removes any buffered records for this transaction and performs no logging.
 void TransactionalHandler.commit(Transaction txn)
          Removes any buffered records for this transaction and logs all buffered records using the backing Handler.
 boolean TransactionalHandler.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 void TransactionalHandler.prepareAndCommit(Transaction txn)
          Removes any buffered records for this transaction and logs all buffered records using the backing Handler.
 

Uses of Transaction in com.sun.sgs.impl.service.channel
 

Methods in com.sun.sgs.impl.service.channel that return Transaction
(package private) static Transaction ChannelServiceImpl.getTransaction()
          Returns the currently active transaction, or throws TransactionNotActiveException if no transaction is active.
 

Methods in com.sun.sgs.impl.service.channel with parameters of type Transaction
(package private) static void ChannelServiceImpl.checkTransaction(Transaction txn)
          Checks that the specified context is currently active, throwing TransactionNotActiveException if it isn't.
(package private)  Set<BigInteger> ChannelServiceImpl.collectChannelMembership(Transaction txn, BigInteger channelRefId, Set<Long> nodeIds)
          Collects a snapshot of the channel membership for the channel with the specified channelRefId and set of member nodeIds and returns an unmodifiable set containing the channel membership.
 

Uses of Transaction in com.sun.sgs.impl.service.data
 

Fields in com.sun.sgs.impl.service.data declared as Transaction
(package private)  Transaction Context.txn
          The transaction.
 

Methods in com.sun.sgs.impl.service.data with parameters of type Transaction
(package private)  ClassSerialization ClassesTable.createClassSerialization(Transaction txn)
          Returns an implementation of ClassSerialization that uses this table to lookup class descriptors, uses the specified transaction when making requests of the data store, and uses Int30 to represent class IDs.
(package private)  int ClassesTable.getClassId(Transaction txn, ObjectStreamClass classDesc)
          Returns the class ID associated with a class descriptor.
 

Constructors in com.sun.sgs.impl.service.data with parameters of type Transaction
Context(DataServiceImpl service, DataStore store, Transaction txn, int debugCheckInterval, boolean detectModifications, ClassesTable classesTable, boolean trackStaleObjects)
          Creates an instance of this class.
 

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

Methods in com.sun.sgs.impl.service.data.store with parameters of type Transaction
 void AbstractDataStore.abort(Transaction txn)
          Tells the participant to abort its involvement with the given transaction.
 void DataStoreProfileProducer.abort(Transaction txn)
          Tells the participant to abort its involvement with the given transaction.
protected abstract  void AbstractDataStore.abortInternal(Transaction txn)
          Performs the actual operation for abort.
protected  void DataStoreImpl.abortInternal(Transaction txn)
          Performs the actual operation for abort.
 void AbstractDataStore.commit(Transaction txn)
          Tells the participant to commit its state associated with the given transaction.
 void DataStoreProfileProducer.commit(Transaction txn)
          Tells the participant to commit its state associated with the given transaction.
protected abstract  void AbstractDataStore.commitInternal(Transaction txn)
          Performs the actual operation for commit.
protected  void DataStoreImpl.commitInternal(Transaction txn)
          Performs the actual operation for commit.
 long AbstractDataStore.createObject(Transaction txn)
          Reserves an object ID for a new object.
 long DataStoreProfileProducer.createObject(Transaction txn)
          Reserves an object ID for a new object.
protected abstract  long AbstractDataStore.createObjectInternal(Transaction txn)
          Performs the actual operation for createObject.
protected  long DataStoreImpl.createObjectInternal(Transaction txn)
          Performs the actual operation for createObject.
 T DataStoreImpl.TxnInfoTable.get(Transaction txn)
          Returns the information associated with the transaction, or null if none is found.
 long AbstractDataStore.getBinding(Transaction txn, String name)
          Obtains the object ID bound to a name.
 long DataStoreProfileProducer.getBinding(Transaction txn, String name)
          Obtains the object ID bound to a name.
protected abstract  BindingValue AbstractDataStore.getBindingInternal(Transaction txn, String name)
          Performs the actual operation for getBinding.
protected  BindingValue DataStoreImpl.getBindingInternal(Transaction txn, String name)
          Performs the actual operation for getBinding.
 int AbstractDataStore.getClassId(Transaction txn, byte[] classInfo)
          Returns the class ID to represent classes with the specified class information.
 int DataStoreProfileProducer.getClassId(Transaction txn, byte[] classInfo)
          Returns the class ID to represent classes with the specified class information.
protected abstract  int AbstractDataStore.getClassIdInternal(Transaction txn, byte[] classInfo)
          Performs the actual operation for getClassId.
protected  int DataStoreImpl.getClassIdInternal(Transaction txn, byte[] classInfo)
          Performs the actual operation for getClassId.
 byte[] AbstractDataStore.getClassInfo(Transaction txn, int classId)
          Returns the class information associated with the specified class ID.
 byte[] DataStoreProfileProducer.getClassInfo(Transaction txn, int classId)
          Returns the class information associated with the specified class ID.
protected abstract  byte[] AbstractDataStore.getClassInfoInternal(Transaction txn, int classId)
          Performs the actual operation for getClassInfo.
protected  byte[] DataStoreImpl.getClassInfoInternal(Transaction txn, int classId)
          Performs the actual operation for getClassInfo.
 byte[] AbstractDataStore.getObject(Transaction txn, long oid, boolean forUpdate)
          Obtains the data associated with an object ID.
 byte[] DataStoreProfileProducer.getObject(Transaction txn, long oid, boolean forUpdate)
          Obtains the data associated with an object ID.
protected abstract  byte[] AbstractDataStore.getObjectInternal(Transaction txn, long oid, boolean forUpdate)
          Performs the actual operation for getObject.
protected  byte[] DataStoreImpl.getObjectInternal(Transaction txn, long oid, boolean forUpdate)
          Performs the actual operation for getObject.
(package private)  byte[] DataStoreImpl.getObjectRaw(Transaction txn, long oid)
          Get raw data for the specified object ID.
protected  RuntimeException AbstractDataStore.handleException(Transaction txn, Level level, RuntimeException e, String operation)
          Performs any operations needed when an exception is going to be thrown, as well as allowing the implementation to replace the exception with a different one.
protected  RuntimeException DataStoreImpl.handleException(Transaction txn, Level level, RuntimeException e, String operation)
          Performs any operations needed when an exception is going to be thrown, as well as allowing the implementation to replace the exception with a different one.
protected  void DataStoreImpl.joinNewTransaction(Transaction txn)
          Explicitly joins a new transaction.
 void AbstractDataStore.markForUpdate(Transaction txn, long oid)
          Notifies the DataStore that an object is going to be modified.
 void DataStoreProfileProducer.markForUpdate(Transaction txn, long oid)
          Notifies the DataStore that an object is going to be modified.
protected abstract  void AbstractDataStore.markForUpdateInternal(Transaction txn, long oid)
          Performs the actual operation for markForUpdate.
protected  void DataStoreImpl.markForUpdateInternal(Transaction txn, long oid)
          Performs the actual operation for markForUpdate.
 String AbstractDataStore.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.
 String DataStoreProfileProducer.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.
protected abstract  String AbstractDataStore.nextBoundNameInternal(Transaction txn, String name)
          Performs the actual operation for nextBoundName.
protected  String DataStoreImpl.nextBoundNameInternal(Transaction txn, String name)
          Performs the actual operation for nextBoundName.
 long AbstractDataStore.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.
 long DataStoreProfileProducer.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.
protected abstract  long AbstractDataStore.nextObjectIdInternal(Transaction txn, long oid)
          Performs the actual operation for nextObjectId.
protected  long DataStoreImpl.nextObjectIdInternal(Transaction txn, long oid)
          Performs the actual operation for nextObjectId.
(package private)  long DataStoreImpl.nextObjectIdRaw(Transaction txn, long oid)
          Gets the next object ID after the one specified, or -1 if there are no more objects.
 boolean AbstractDataStore.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 boolean DataStoreProfileProducer.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 void AbstractDataStore.prepareAndCommit(Transaction txn)
          Tells the participant to both prepare and commit its state associated with the given transaction.
 void DataStoreProfileProducer.prepareAndCommit(Transaction txn)
          Tells the participant to both prepare and commit its state associated with the given transaction.
protected abstract  void AbstractDataStore.prepareAndCommitInternal(Transaction txn)
          Performs the actual operation for prepareAndCommit.
protected  void DataStoreImpl.prepareAndCommitInternal(Transaction txn)
          Performs the actual operation for prepareAndCommit.
protected abstract  boolean AbstractDataStore.prepareInternal(Transaction txn)
          Performs the actual operation for prepare.
protected  boolean DataStoreImpl.prepareInternal(Transaction txn)
          Performs the actual operation for prepare.
 T DataStoreImpl.TxnInfoTable.remove(Transaction txn)
          Removes the information associated with the transaction.
 void AbstractDataStore.removeBinding(Transaction txn, String name)
          Removes the binding for a name.
 void DataStoreProfileProducer.removeBinding(Transaction txn, String name)
          Removes the binding for a name.
protected abstract  BindingValue AbstractDataStore.removeBindingInternal(Transaction txn, String name)
          Performs the actual operation for removeBinding.
protected  BindingValue DataStoreImpl.removeBindingInternal(Transaction txn, String name)
          Performs the actual operation for removeBinding.
 void AbstractDataStore.removeObject(Transaction txn, long oid)
          Removes the object with the specified object ID.
 void DataStoreProfileProducer.removeObject(Transaction txn, long oid)
          Removes the object with the specified object ID.
protected abstract  void AbstractDataStore.removeObjectInternal(Transaction txn, long oid)
          Performs the actual operation for removeObject.
protected  void DataStoreImpl.removeObjectInternal(Transaction txn, long oid)
          Performs the actual operation for removeObject.
protected  void AbstractDataStore.reportNameAccess(Transaction txn, String name, AccessReporter.AccessType type)
          Reports a name access.
protected  void AbstractDataStore.reportObjectAccess(Transaction txn, long oid, AccessReporter.AccessType type)
          Reports an object access.
 void DataStoreImpl.TxnInfoTable.set(Transaction txn, T info)
          Sets the information associated with the transaction, which should not currently have associated information.
 void AbstractDataStore.setBinding(Transaction txn, String name, long oid)
          Binds an object ID to a name.
 void DataStoreProfileProducer.setBinding(Transaction txn, String name, long oid)
          Binds an object ID to a name.
 void AbstractDataStore.setBindingDescription(Transaction txn, String name, Object description)
          Associates a description with a bound name, for use in describing name accesses.
 void DataStoreProfileProducer.setBindingDescription(Transaction txn, String name, Object description)
          Associates a description with a bound name, for use in describing name accesses.
protected abstract  BindingValue AbstractDataStore.setBindingInternal(Transaction txn, String name, long oid)
          Performs the actual operation for setBinding.
protected  BindingValue DataStoreImpl.setBindingInternal(Transaction txn, String name, long oid)
          Performs the actual operation for setBinding.
 void AbstractDataStore.setObject(Transaction txn, long oid, byte[] data)
          Specifies data to associate with an object ID.
 void DataStoreProfileProducer.setObject(Transaction txn, long oid, byte[] data)
          Specifies data to associate with an object ID.
 void AbstractDataStore.setObjectDescription(Transaction txn, long oid, Object description)
          Associates a description with an object ID, for use in describing object accesses.
 void DataStoreProfileProducer.setObjectDescription(Transaction txn, long oid, Object description)
          Associates a description with an object ID, for use in describing object accesses.
protected abstract  void AbstractDataStore.setObjectInternal(Transaction txn, long oid, byte[] data)
          Performs the actual operation for setObject.
protected  void DataStoreImpl.setObjectInternal(Transaction txn, long oid, byte[] data)
          Performs the actual operation for setObject.
(package private)  void DataStoreImpl.setObjectRaw(Transaction txn, long oid, byte[] data)
          Store raw data for the specified object ID.
 void AbstractDataStore.setObjects(Transaction txn, long[] oids, byte[][] dataArray)
          Specifies data to associate with a series of object IDs.
 void DataStoreProfileProducer.setObjects(Transaction txn, long[] oids, byte[][] dataArray)
          Specifies data to associate with a series of object IDs.
protected abstract  void AbstractDataStore.setObjectsInternal(Transaction txn, long[] oids, byte[][] dataArray)
          Performs the actual operation for setObjects.
protected  void DataStoreImpl.setObjectsInternal(Transaction txn, long[] oids, byte[][] dataArray)
          Performs the actual operation for setObjects.
 

Uses of Transaction in com.sun.sgs.impl.service.data.store.net
 

Methods in com.sun.sgs.impl.service.data.store.net with parameters of type Transaction
protected  void DataStoreClient.abortInternal(Transaction txn)
          Performs the actual operation for abort.
protected  void DataStoreClient.commitInternal(Transaction txn)
          Performs the actual operation for commit.
protected  long DataStoreClient.createObjectInternal(Transaction txn)
          Performs the actual operation for createObject.
protected  BindingValue DataStoreClient.getBindingInternal(Transaction txn, String name)
          Performs the actual operation for getBinding.
protected  int DataStoreClient.getClassIdInternal(Transaction txn, byte[] classInfo)
          Performs the actual operation for getClassId.
protected  byte[] DataStoreClient.getClassInfoInternal(Transaction txn, int classId)
          Performs the actual operation for getClassInfo.
protected  byte[] DataStoreClient.getObjectInternal(Transaction txn, long oid, boolean forUpdate)
          Performs the actual operation for getObject.
protected  RuntimeException DataStoreClient.handleException(Transaction txn, Level level, RuntimeException e, String operation)
          Performs any operations needed when an exception is going to be thrown, as well as allowing the implementation to replace the exception with a different one.
protected  void DataStoreClient.markForUpdateInternal(Transaction txn, long oid)
          Performs the actual operation for markForUpdate.
protected  String DataStoreClient.nextBoundNameInternal(Transaction txn, String name)
          Performs the actual operation for nextBoundName.
protected  long DataStoreClient.nextObjectIdInternal(Transaction txn, long oid)
          Performs the actual operation for nextObjectId.
protected  void DataStoreClient.prepareAndCommitInternal(Transaction txn)
          Performs the actual operation for prepareAndCommit.
protected  boolean DataStoreClient.prepareInternal(Transaction txn)
          Performs the actual operation for prepare.
protected  BindingValue DataStoreClient.removeBindingInternal(Transaction txn, String name)
          Performs the actual operation for removeBinding.
protected  void DataStoreClient.removeObjectInternal(Transaction txn, long oid)
          Performs the actual operation for removeObject.
protected  BindingValue DataStoreClient.setBindingInternal(Transaction txn, String name, long oid)
          Performs the actual operation for setBinding.
protected  void DataStoreClient.setObjectInternal(Transaction txn, long oid, byte[] data)
          Performs the actual operation for setObject.
protected  void DataStoreClient.setObjectsInternal(Transaction txn, long[] oids, byte[][] dataArray)
          Performs the actual operation for setObjects.
 

Uses of Transaction in com.sun.sgs.impl.service.transaction
 

Classes in com.sun.sgs.impl.service.transaction that implement Transaction
(package private)  class TransactionImpl
          Provides an implementation of Transaction.
 

Methods in com.sun.sgs.impl.service.transaction that return Transaction
 Transaction TransactionHandle.getTransaction()
          Returns the transaction associated with this handle.
 

Uses of Transaction in com.sun.sgs.impl.util
 

Fields in com.sun.sgs.impl.util declared as Transaction
protected  Transaction TransactionContext.txn
          The transaction.
 

Methods in com.sun.sgs.impl.util that return Transaction
 Transaction TransactionContext.getTransaction()
          Returns the transaction associated with this context.
 

Methods in com.sun.sgs.impl.util with parameters of type Transaction
 void TransactionContextFactory.Participant.abort(Transaction txn)
          Tells the participant to abort its involvement with the given transaction.
 T TransactionContextMap.checkTransaction(Transaction txn)
          Checks the specified transaction, throwing IllegalStateException if the current context is null or if the specified transaction is not equal to the transaction in the current context.
 void TransactionContextFactory.Participant.commit(Transaction txn)
          Tells the participant to commit its state associated with the given transaction.
protected abstract  T TransactionContextFactory.createContext(Transaction txn)
          Returns a new TransactionContext to hold state for the specified transaction, txn.
 boolean TransactionContextFactory.Participant.prepare(Transaction txn)
          Tells the participant to prepare for commiting its state associated with the given transaction.
 void TransactionContextFactory.Participant.prepareAndCommit(Transaction txn)
          Tells the participant to both prepare and commit its state associated with the given transaction.
 

Constructors in com.sun.sgs.impl.util with parameters of type Transaction
TransactionContext(Transaction txn)
          Constructs an instance of this class with the given transaction.
 

Uses of Transaction in com.sun.sgs.impl.util.lock
 

Fields in com.sun.sgs.impl.util.lock declared as Transaction
protected  Transaction TxnLocker.txn
          The associated transaction.
 

Methods in com.sun.sgs.impl.util.lock that return Transaction
 Transaction TxnLocker.getTransaction()
          Returns the transaction associated with this locker.
 

Constructors in com.sun.sgs.impl.util.lock with parameters of type Transaction
TxnLocker(TxnLockManager<K> lockManager, Transaction txn, long requestedStartTime)
          Creates an instance of this class.
 

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