Class CommitJob

java.lang.Object
com.sun.jini.mahalo.Job
com.sun.jini.mahalo.CommitJob
All Implemented Interfaces:
TransactionConstants

public class CommitJob extends Job implements TransactionConstants
An implementation of a Job which interacts with a set of TransactionParticipants to inform them to roll forward changes associated with a given Transaction.
Author:
Sun Microsystems, Inc.
See Also:
  • Constructor Details

    • CommitJob

      public CommitJob(Transaction tr, TaskManager pool, WakeupManager wm, ClientLog log, com.sun.jini.mahalo.ParticipantHandle[] handles, Object xid)
      Constructs an CommitJob
      Parameters:
      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.
      See Also:
  • Method Details

    • commitPartitionWithEnabledFailover

      public static void commitPartitionWithEnabledFailover(com.sun.jini.mahalo.ParticipantHandle handle, ExtendedTransactionManager mgr, long id, Object xid, int numPrepared)