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.
 
Methods inherited from interface com.sun.sgs.kernel.AccessCoordinator
getConflictingTransaction, registerAccessSource
 

Method Detail

notifyNewTransaction

void notifyNewTransaction(Transaction txn,
                          long requestedStartTime,
                          int tryCount)
Notifies the coordinator that a new transaction is starting.

Parameters:
txn - the transaction
requestedStartTime - the time in milliseconds that the task associated with the transaction was originally requested to start
tryCount - 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

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