Package com.sun.jini.mahalo
Class AbortJob
java.lang.Object
com.sun.jini.mahalo.Job
com.sun.jini.mahalo.AbortJob
- All Implemented Interfaces:
TransactionConstants
An implementation of a
com.sun.jini.mahalo.Job which interacts with a set of
net.jini.core.transaction.server.TransactionParticipants to inform them to roll back
changes associated with a given net.jini.core.transaction.Transaction.- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.sun.jini.mahalo.Job
_directCall, pending, results, tasksFields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING -
Constructor Summary
ConstructorsConstructorDescriptionAbortJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, boolean directCall, Object xid) Constructs anAbortJob -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectabortPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle, ExtendedTransactionManager mgr, long id, Object xid) Methods inherited from class com.sun.jini.mahalo.Job
getMgr, getPool, isCompleted, isDirectCall, numberOfRetriesDueToConnectionExceptionExceeded, reportDone, scheduleTasks, stop
-
Constructor Details
-
AbortJob
public AbortJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, boolean directCall, Object xid) Constructs anAbortJob- Parameters:
tr- TheTransactionwhose participants will be instructed to roll-back.pool- TheTaskManagerwhich provides the threads used for interacting with participants.log- TheClientLogused for recording recovery data.handles- The array of participants which will be contacted and informed to roll-back.- See Also:
-
-
Method Details
-
abortPartitionWithEnabledFailover
public static Object abortPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle, ExtendedTransactionManager mgr, long id, Object xid)
-