GigaSpaces XAP 8.0 API

com.sun.jini.mahalo
Class AbortJob

java.lang.Object
  extended by com.sun.jini.mahalo.Job
      extended by com.sun.jini.mahalo.AbortJob
All Implemented Interfaces:
TransactionConstants

public class AbortJob
extends Job
implements TransactionConstants

An implementation of a 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.

Author:
Sun Microsystems, Inc.
See Also:
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
AbortJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, boolean directCall, Object xid)
          Constructs an AbortJob
 
Method Summary
 
Methods inherited from class com.sun.jini.mahalo.Job
getMgr, getPool, isCompleted, isDirectCall, reportDone, scheduleTasks, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbortJob

public AbortJob(Transaction tr,
                TaskManager pool,
                WakeupManager wm,
                ClientLog log,
                com.sun.jini.mahalo.ParticipantHandle[] handles,
                boolean directCall,
                Object xid)
Constructs an AbortJob

Parameters:
tr - 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.
See Also:
TaskManager, ClientLog, TransactionParticipant

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.