public class AbortJob extends Job implements TransactionConstants
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.Job,
ParticipantTask,
Transaction,
TransactionParticipant_directCall, pending, results, tasksABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING| Constructor and Description |
|---|
AbortJob(Transaction tr,
com.sun.jini.thread.TaskManager pool,
com.sun.jini.thread.WakeupManager wm,
com.sun.jini.mahalo.log.ClientLog log,
com.sun.jini.mahalo.ParticipantHandle[] handles,
boolean directCall,
Object xid)
Constructs an
AbortJob |
| Modifier and Type | Method and Description |
|---|---|
static Object |
abortPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle,
ExtendedTransactionManager mgr,
long id,
Object xid) |
getMgr, getPool, isCompleted, isDirectCall, numberOfRetriesDueToConnectionExceptionExceeded, reportDone, scheduleTasks, stoppublic AbortJob(Transaction tr, com.sun.jini.thread.TaskManager pool, com.sun.jini.thread.WakeupManager wm, com.sun.jini.mahalo.log.ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, boolean directCall, Object xid)
AbortJobtr - The Transaction whose participants
will be instructed to roll-back.pool - The TaskManager which provides the
threads used for interacting with participants.log - The ClientLog used for recording
recovery data.handles - The array of participants which will be contacted
and informed to roll-back.TaskManager,
ClientLog,
TransactionParticipantpublic static Object abortPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle, ExtendedTransactionManager mgr, long id, Object xid)
Copyright © GigaSpaces.