com.sun.jini.mahalo
Class PrepareJob
java.lang.Object
com.sun.jini.mahalo.Job
com.sun.jini.mahalo.PrepareJob
- All Implemented Interfaces:
- TransactionConstants
public class PrepareJob
- extends Job
- implements TransactionConstants
An implementation of a com.sun.jini.mahalo.Job
which
interacts with a set of
net.jini.core.transaction.server.TransactionParticipant
s
to inform them to vote.
- Author:
- Sun Microsystems, Inc.
- See Also:
Job
,
ParticipantTask
,
Transaction
,
TransactionParticipant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrepareJob
public 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
- Parameters:
tr
- 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 vote- See Also:
TaskManager
,
ClientLog
,
TransactionParticipant
Copyright © GigaSpaces.