Class MetricsDuration

java.lang.Object
org.pentaho.di.core.metrics.MetricsDuration

public class MetricsDuration extends Object
  • Constructor Details

    • MetricsDuration

      public MetricsDuration(Date date, String description, String subject, String logChannelId, Long duration)
      Parameters:
      date -
      description -
      subject -
      logChannelId -
      duration -
    • MetricsDuration

      public MetricsDuration(Date date, String description, String subject, String logChannelId, Long duration, Long count)
      Parameters:
      date -
      description -
      subject -
      logChannelId -
      duration -
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDate

      public Date getDate()
      Returns:
      the date
    • setDate

      public void setDate(Date date)
      Parameters:
      date - the date to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getDuration

      public Long getDuration()
      Returns:
      the duration
    • setDuration

      public void setDuration(Long duration)
      Parameters:
      duration - the duration to set
    • getSubject

      public String getSubject()
      Returns:
      the subject
    • setSubject

      public void setSubject(String subject)
      Parameters:
      subject - the subject to set
    • getLogChannelId

      public String getLogChannelId()
      Returns:
      the logChannelId
    • setLogChannelId

      public void setLogChannelId(String logChannelId)
      Parameters:
      logChannelId - the logChannelId to set
    • getCount

      public Long getCount()
    • setCount

      public void setCount(Long count)
    • incrementCount

      public void incrementCount()
    • getEndDate

      public Date getEndDate()
      Returns:
      the endDate
    • setEndDate

      public void setEndDate(Date endDate)
      Parameters:
      endDate - the endDate to set