Class TaskStatistics


  • public class TaskStatistics
    extends Object
    Resource usage statistics for a Task.
    • Constructor Detail

      • TaskStatistics

        public TaskStatistics()
    • Method Detail

      • url

        public String url()
        Get the url value.
        Returns:
        the url value
      • withUrl

        public TaskStatistics withUrl​(String url)
        Set the url value.
        Parameters:
        url - the url value to set
        Returns:
        the TaskStatistics object itself.
      • startTime

        public org.joda.time.DateTime startTime()
        Get the startTime value.
        Returns:
        the startTime value
      • withStartTime

        public TaskStatistics withStartTime​(org.joda.time.DateTime startTime)
        Set the startTime value.
        Parameters:
        startTime - the startTime value to set
        Returns:
        the TaskStatistics object itself.
      • lastUpdateTime

        public org.joda.time.DateTime lastUpdateTime()
        Get the lastUpdateTime value.
        Returns:
        the lastUpdateTime value
      • withLastUpdateTime

        public TaskStatistics withLastUpdateTime​(org.joda.time.DateTime lastUpdateTime)
        Set the lastUpdateTime value.
        Parameters:
        lastUpdateTime - the lastUpdateTime value to set
        Returns:
        the TaskStatistics object itself.
      • userCPUTime

        public org.joda.time.Period userCPUTime()
        Get the userCPUTime value.
        Returns:
        the userCPUTime value
      • withUserCPUTime

        public TaskStatistics withUserCPUTime​(org.joda.time.Period userCPUTime)
        Set the userCPUTime value.
        Parameters:
        userCPUTime - the userCPUTime value to set
        Returns:
        the TaskStatistics object itself.
      • kernelCPUTime

        public org.joda.time.Period kernelCPUTime()
        Get the kernelCPUTime value.
        Returns:
        the kernelCPUTime value
      • withKernelCPUTime

        public TaskStatistics withKernelCPUTime​(org.joda.time.Period kernelCPUTime)
        Set the kernelCPUTime value.
        Parameters:
        kernelCPUTime - the kernelCPUTime value to set
        Returns:
        the TaskStatistics object itself.
      • wallClockTime

        public org.joda.time.Period wallClockTime()
        Get the wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries.
        Returns:
        the wallClockTime value
      • withWallClockTime

        public TaskStatistics withWallClockTime​(org.joda.time.Period wallClockTime)
        Set the wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries.
        Parameters:
        wallClockTime - the wallClockTime value to set
        Returns:
        the TaskStatistics object itself.
      • readIOps

        public long readIOps()
        Get the readIOps value.
        Returns:
        the readIOps value
      • withReadIOps

        public TaskStatistics withReadIOps​(long readIOps)
        Set the readIOps value.
        Parameters:
        readIOps - the readIOps value to set
        Returns:
        the TaskStatistics object itself.
      • writeIOps

        public long writeIOps()
        Get the writeIOps value.
        Returns:
        the writeIOps value
      • withWriteIOps

        public TaskStatistics withWriteIOps​(long writeIOps)
        Set the writeIOps value.
        Parameters:
        writeIOps - the writeIOps value to set
        Returns:
        the TaskStatistics object itself.
      • readIOGiB

        public double readIOGiB()
        Get the readIOGiB value.
        Returns:
        the readIOGiB value
      • withReadIOGiB

        public TaskStatistics withReadIOGiB​(double readIOGiB)
        Set the readIOGiB value.
        Parameters:
        readIOGiB - the readIOGiB value to set
        Returns:
        the TaskStatistics object itself.
      • writeIOGiB

        public double writeIOGiB()
        Get the writeIOGiB value.
        Returns:
        the writeIOGiB value
      • withWriteIOGiB

        public TaskStatistics withWriteIOGiB​(double writeIOGiB)
        Set the writeIOGiB value.
        Parameters:
        writeIOGiB - the writeIOGiB value to set
        Returns:
        the TaskStatistics object itself.
      • waitTime

        public org.joda.time.Period waitTime()
        Get the waitTime value.
        Returns:
        the waitTime value
      • withWaitTime

        public TaskStatistics withWaitTime​(org.joda.time.Period waitTime)
        Set the waitTime value.
        Parameters:
        waitTime - the waitTime value to set
        Returns:
        the TaskStatistics object itself.