Package org.pentaho.di.core.metrics
Class MetricsDuration
java.lang.Object
org.pentaho.di.core.metrics.MetricsDuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCount()getDate()voidvoidvoidvoidsetDescription(String description) voidsetDuration(Long duration) voidsetEndDate(Date endDate) voidsetLogChannelId(String logChannelId) voidsetSubject(String subject) toString()
-
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
-
getDate
- Returns:
- the date
-
setDate
- Parameters:
date- the date to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getDuration
- Returns:
- the duration
-
setDuration
- Parameters:
duration- the duration to set
-
getSubject
- Returns:
- the subject
-
setSubject
- Parameters:
subject- the subject to set
-
getLogChannelId
- Returns:
- the logChannelId
-
setLogChannelId
- Parameters:
logChannelId- the logChannelId to set
-
getCount
-
setCount
-
incrementCount
public void incrementCount() -
getEndDate
- Returns:
- the endDate
-
setEndDate
- Parameters:
endDate- the endDate to set
-