Package org.pentaho.di.core.metrics
Class MetricsDuration
java.lang.Object
org.pentaho.di.core.metrics.MetricsDuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
getDate()
void
void
void
void
setDescription
(String description) void
setDuration
(Long duration) void
setEndDate
(Date endDate) void
setLogChannelId
(String logChannelId) void
setSubject
(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
-