public class MetricsDuration extends Object
| Constructor and Description |
|---|
MetricsDuration(Date date,
String description,
String subject,
String logChannelId,
Long duration) |
MetricsDuration(Date date,
String description,
String subject,
String logChannelId,
Long duration,
Long count) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount() |
Date |
getDate() |
String |
getDescription() |
Long |
getDuration() |
Date |
getEndDate() |
String |
getLogChannelId() |
String |
getSubject() |
void |
incrementCount() |
void |
setCount(Long count) |
void |
setDate(Date date) |
void |
setDescription(String description) |
void |
setDuration(Long duration) |
void |
setEndDate(Date endDate) |
void |
setLogChannelId(String logChannelId) |
void |
setSubject(String subject) |
String |
toString() |
public MetricsDuration(Date date, String description, String subject, String logChannelId, Long duration)
date - description - subject - logChannelId - duration - public Date getDate()
public void setDate(Date date)
date - the date to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic Long getDuration()
public void setDuration(Long duration)
duration - the duration to setpublic String getSubject()
public void setSubject(String subject)
subject - the subject to setpublic String getLogChannelId()
public void setLogChannelId(String logChannelId)
logChannelId - the logChannelId to setpublic Long getCount()
public void setCount(Long count)
public void incrementCount()
public Date getEndDate()
public void setEndDate(Date endDate)
endDate - the endDate to set