com.sun.sgs.impl.kernel
Interface AccessCoordinatorHandle
- All Superinterfaces:
- AccessCoordinator
- All Known Implementing Classes:
- AbstractAccessCoordinator, LockingAccessCoordinator, NullAccessCoordinator, TrackingAccessCoordinator
public interface AccessCoordinatorHandle
- extends AccessCoordinator
A subinterface of AccessCoordinator that the kernel uses to notify
the access coordinator of new transactions.
|
Method Summary |
void |
notifyNewTransaction(Transaction txn,
long requestedStartTime,
int tryCount)
Notifies the coordinator that a new transaction is starting. |
notifyNewTransaction
void notifyNewTransaction(Transaction txn,
long requestedStartTime,
int tryCount)
- Notifies the coordinator that a new transaction is starting.
- Parameters:
txn - the transactionrequestedStartTime - the time in milliseconds that the task
associated with the transaction was originally requested to
starttryCount - the number of times that transactions have been
attempted for the task associated with txn
- Throws:
IllegalArgumentException - if requestedStartTime is less
than 0 or tryCount is less than 1
IllegalStateException - if this transaction has already been
started
Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved