|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.MetricIntervalEntity
public class MetricIntervalEntity
| Field Summary | |
|---|---|
protected String |
name
|
protected String |
reporter
|
protected Date |
timestamp
|
protected long |
value
|
| Constructor Summary | |
|---|---|
MetricIntervalEntity(Date timestamp,
String name,
String reporter)
|
|
MetricIntervalEntity(Long timestamp,
String name,
String reporter)
Ctor will be used by Mybatis |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getId()
|
String |
getName()
Returns the name of the metric. |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database. |
String |
getReporter()
Returns the reporter name of the metric. |
Date |
getTimestamp()
Returns the timestamp as date object, on which the metric was created. |
long |
getValue()
Returns the value of the metric. |
int |
hashCode()
|
void |
setId(String id)
|
void |
setName(String name)
|
void |
setReporter(String reporter)
|
void |
setTimestamp(Date timestamp)
|
void |
setTimestamp(long timestamp)
|
void |
setValue(long value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Date timestamp
protected String name
protected String reporter
protected long value
| Constructor Detail |
|---|
public MetricIntervalEntity(Date timestamp,
String name,
String reporter)
public MetricIntervalEntity(Long timestamp,
String name,
String reporter)
timestamp - name - reporter - | Method Detail |
|---|
public Date getTimestamp()
MetricIntervalValue
getTimestamp in interface MetricIntervalValuepublic void setTimestamp(Date timestamp)
public void setTimestamp(long timestamp)
public String getName()
MetricIntervalValue
getName in interface MetricIntervalValuein {@link Metrics} for a list of names which can be returned herepublic void setName(String name)
public String getReporter()
MetricIntervalValue
getReporter in interface MetricIntervalValuepublic void setReporter(String reporter)
public long getValue()
MetricIntervalValue
getValue in interface MetricIntervalValuepublic void setValue(long value)
public String getId()
getId in interface DbEntitypublic void setId(String id)
setId in interface DbEntitypublic Object getPersistentState()
DbEntity
getPersistentState in interface DbEntitypublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||