|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jini.mahalo.Job
com.sun.jini.mahalo.CommitJob
public class CommitJob
An implementation of a Job which interacts with
a set of TransactionParticipants to inform them
to roll forward changes associated with a given Transaction.
Job,
ParticipantTask,
Transaction,
TransactionParticipant| Field Summary |
|---|
| Fields inherited from class com.sun.jini.mahalo.Job |
|---|
_directCall, pending, results, tasks |
| Fields inherited from interface net.jini.core.transaction.server.TransactionConstants |
|---|
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING |
| Constructor Summary | |
|---|---|
CommitJob(Transaction tr,
TaskManager pool,
WakeupManager wm,
ClientLog log,
com.sun.jini.mahalo.ParticipantHandle[] handles,
Object xid)
Constructs an CommitJob |
|
| Method Summary | |
|---|---|
static void |
commitPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle,
ExtendedTransactionManager mgr,
long id,
Object xid,
int numPrepared)
|
| Methods inherited from class com.sun.jini.mahalo.Job |
|---|
getMgr, getPool, isCompleted, isDirectCall, numberOfRetriesDueToConnectionExceptionExceeded, reportDone, scheduleTasks, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommitJob(Transaction tr,
TaskManager pool,
WakeupManager wm,
ClientLog log,
com.sun.jini.mahalo.ParticipantHandle[] handles,
Object xid)
CommitJob
tr - 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,
TransactionParticipant| Method Detail |
|---|
public static void commitPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle,
ExtendedTransactionManager mgr,
long id,
Object xid,
int numPrepared)
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||