|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.reports.Sample
class Sample
A single snapshot of system state. It can contain all the same information as Datapoint#data#data in the sample's data field.
Field Summary | |
---|---|
private String |
agent
A unique identifier for the agent that recorded this sample. |
private Map |
data
(Map of String => String) Arbitrary data that was recorded for this sample. |
private Long |
id
|
private Date |
timestamp
The date and time at which this sample was recorded. |
Constructor Summary | |
Sample()
|
Method Summary | |
---|---|
String
|
getAgent()
A unique identifier for the agent that recorded this sample. |
Map
|
getData()
(Map of String => String) Arbitrary data that was recorded for this sample. |
Long
|
getId()
|
Date
|
getTimestamp()
The date and time at which this sample was recorded. |
void
|
setAgent(String agent)
A unique identifier for the agent that recorded this sample. |
void
|
setData(Map data)
(Map of String => String) Arbitrary data that was recorded for this sample. |
void
|
setId(Long id)
|
void
|
setTimestamp(Date timestamp)
The date and time at which this sample was recorded. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String agent
private Map data
private Long id
private Date timestamp
Constructor Detail |
---|
Sample()
Method Detail |
---|
String getAgent()
Map getData()
Long getId()
Date getTimestamp()
void setAgent(String agent)
void setData(Map data)
void setId(Long id)
void setTimestamp(Date timestamp)
String toString()
Groovy Documentation