public class CommitJob extends Job implements TransactionConstants
Job which interacts with a set of
TransactionParticipants to inform them to roll forward changes associated with a
given Transaction.Job,
ParticipantTask,
Transaction,
TransactionParticipant_directCall, pending, results, tasksABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING| Constructor and Description |
|---|
CommitJob(Transaction tr,
TaskManager pool,
WakeupManager wm,
ClientLog log,
com.sun.jini.mahalo.ParticipantHandle[] handles,
Object xid)
Constructs an
CommitJob |
| Modifier and Type | Method and Description |
|---|---|
static void |
commitPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle,
ExtendedTransactionManager mgr,
long id,
Object xid,
int numPrepared) |
getMgr, getPool, isCompleted, isDirectCall, numberOfRetriesDueToConnectionExceptionExceeded, reportDone, scheduleTasks, stoppublic CommitJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, Object xid)
CommitJobtr - The Transaction whose participants will be instructed to
roll-forward.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-forward.TaskManager,
ClientLog,
TransactionParticipantpublic static void commitPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle,
ExtendedTransactionManager mgr,
long id,
Object xid,
int numPrepared)
Copyright © GigaSpaces.