public class PrepareJob 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 vote.Job,
ParticipantTask,
Transaction,
TransactionParticipant_directCall, pending, results, tasksABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING| Constructor and Description |
|---|
PrepareJob(Transaction tr,
TaskManager pool,
WakeupManager wm,
ClientLog log,
com.sun.jini.mahalo.ParticipantHandle[] handles,
Object xid,
ConcurrentMap<String,com.gigaspaces.internal.client.spaceproxy.IDirectSpaceProxy> proxiesMap)
Constructs an
PrepareJob |
getMgr, getPool, isCompleted, isDirectCall, numberOfRetriesDueToConnectionExceptionExceeded, reportDone, scheduleTasks, stoppublic PrepareJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, Object xid, ConcurrentMap<String,com.gigaspaces.internal.client.spaceproxy.IDirectSpaceProxy> proxiesMap)
PrepareJobtr - The Transaction whose participants
will be instructed to votepool - 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 voteTaskManager,
ClientLog,
TransactionParticipantCopyright © GigaSpaces.