Class PerfMonSet


  • public class PerfMonSet
    extends Object
    Metric information.
    • Constructor Detail

      • PerfMonSet

        public PerfMonSet()
    • Method Detail

      • name

        public String name()
        Get unique key name of the counter.
        Returns:
        the name value
      • withName

        public PerfMonSet withName​(String name)
        Set unique key name of the counter.
        Parameters:
        name - the name value to set
        Returns:
        the PerfMonSet object itself.
      • startTime

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

        public PerfMonSet withStartTime​(org.joda.time.DateTime startTime)
        Set start time of the period.
        Parameters:
        startTime - the startTime value to set
        Returns:
        the PerfMonSet object itself.
      • endTime

        public org.joda.time.DateTime endTime()
        Get end time of the period.
        Returns:
        the endTime value
      • withEndTime

        public PerfMonSet withEndTime​(org.joda.time.DateTime endTime)
        Set end time of the period.
        Parameters:
        endTime - the endTime value to set
        Returns:
        the PerfMonSet object itself.
      • timeGrain

        public String timeGrain()
        Get presented time grain.
        Returns:
        the timeGrain value
      • withTimeGrain

        public PerfMonSet withTimeGrain​(String timeGrain)
        Set presented time grain.
        Parameters:
        timeGrain - the timeGrain value to set
        Returns:
        the PerfMonSet object itself.
      • values

        public List<PerfMonSample> values()
        Get collection of workers that are active during this time.
        Returns:
        the values value
      • withValues

        public PerfMonSet withValues​(List<PerfMonSample> values)
        Set collection of workers that are active during this time.
        Parameters:
        values - the values value to set
        Returns:
        the PerfMonSet object itself.