Package com.iizix.txp

Interface ITXPManagementInfo


public interface ITXPManagementInfo
Holds the management info for a process. NOTE: UNDER DESIGN!!
Author:
Freggle
  • Method Details Link icon

    • getPid Link icon

      ITXPid getPid()
      Gets the Pid of the process.
      Returns:
      the Pid
    • hasSucceeded Link icon

      boolean hasSucceeded()
      Returns if the process completed successfully.
      Returns:
      true if successfully; false if not
    • isFixed Link icon

      boolean isFixed()
      Returns if the process has been fixed.
      Returns:
      true if fixed; false if not
    • getFixingPid Link icon

      ITXPid getFixingPid()
      Gets the Pid of the fixing process.
      Returns:
      the Pid of the process that fixed this process; null if it has not been fixed
    • getFixingProcessInfo Link icon

      ITXPManagementInfo getFixingProcessInfo()
      Gets the management info of the fixing process.
      Returns:
      the management info of the process that fixed this process; null if it has not been fixed
    • isMarkedForManualFixing Link icon

      boolean isMarkedForManualFixing()
      Return if this process has been marked for manual fixing only.
      Returns:
      true if marked; false if not
    • wasCommitAttempted Link icon

      boolean wasCommitAttempted()
      Was a commit attempted?
      Returns:
      true if commit attempted; false if not
    • wasRollbackAttempted Link icon

      boolean wasRollbackAttempted()
      Was rollback attempted? Note: If both this and wasCommitAttempted is true the rollback was caused by the commit.
      Returns:
      true if rollback was attempted; false if not
    • wasCompletionPhaseEntered Link icon

      boolean wasCompletionPhaseEntered()
      Was the completion phase of the process entered.
      Returns:
      true if the process entered the completion phase; false if not
    • getNodes Link icon

      List<ITXPid> getNodes()
      Gets the list of Pids of all associated nodes
      Returns:
      the list of Pids of all associated nodes
    • getFailingNodesInCommit Link icon

      List<ITXPid> getFailingNodesInCommit()
      Gets the list of the node pids that failed to commit.
      Returns:
      the list of node pids that failed to commit
    • getFailingNodesInRollback Link icon

      List<ITXPid> getFailingNodesInRollback()
      Gets the list of the node pids that failed to rollback.
      Returns:
      the list of node pids that failed to rollback
    • getPolicyActions Link icon

      List<ITXPPolicy.Action> getPolicyActions()
      Gets the list of all policy actions taken for this process.
      Returns:
      the list of policy actions