Class SubTaskTimeInQueueAction

    • Constructor Detail

      • SubTaskTimeInQueueAction

        public SubTaskTimeInQueueAction​(long queuingDurationMillis,
                                        long blockedDurationMillis,
                                        long buildableDurationMillis,
                                        long waitingDurationMillis,
                                        long executingDurationMillis,
                                        int workUnitCount)
        Constructor
        Parameters:
        queuingDurationMillis - How long spent queuing.
    • Method Detail

      • getBlockedDurationMillis

        public long getBlockedDurationMillis()
        Returns the duration this SubTask spent in the queue because it was blocked.
        Returns:
        the duration this SubTask spent in the queue because it was blocked.
      • getBuildableDurationMillis

        public long getBuildableDurationMillis()
        Returns the duration this SubTask spent in the queue in a buildable state.
        Returns:
        the duration this SubTask spent in the queue in a buildable state.
      • getWaitingDurationMillis

        public long getWaitingDurationMillis()
        Returns the duration this SubTask spent in the queue waiting before it could be considered for execution.
        Returns:
        the duration this SubTask spent in the queue waiting before it could be considered for execution.
      • getExecutingDurationMillis

        public long getExecutingDurationMillis()
        Returns the duration this SubTask spent executing.
        Returns:
        the duration this SubTask spent executing.
      • getWorkUnitCount

        public int getWorkUnitCount()
        Returns the number of executor slots occupied by this SubTask.
        Returns:
        the number of executor slots occupied by this SubTask.