|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.statistics.detailed.MeasureId
public class MeasureId
A MeasureID
uniquely identifies a global measure.
The ID of a measure is made unique through :
Constructor Summary | |
---|---|
MeasureId()
Creates a MeasureID object for the localhost machine and with the current time. |
|
MeasureId(String host,
long invocationTime)
Creates a MeasureID object for a given host and a given invocation time. |
Method Summary | |
---|---|
static MeasureId |
createID()
Creates a new MeasureID object for the localhost machine and with the current time. |
String |
getFormattedString()
Returns a human-readable representation of the measure ID. |
String |
getHost()
Returns the host name of the measure ID. |
long |
getInvocationTime()
Returns the invocation time of the measure ID. |
String |
toString()
Returns a human-readable representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MeasureId()
public MeasureId(String host, long invocationTime)
host
- the host name of the IDinvocationTime
- the invocation time of the IDMethod Detail |
---|
public static MeasureId createID()
Remark : This method should be called only by the client.
public String getHost()
public long getInvocationTime()
public String getFormattedString()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |