public class PerfMonSample extends Object
| Constructor and Description |
|---|
PerfMonSample() |
| Modifier and Type | Method and Description |
|---|---|
String |
instanceName()
Get name of the server on which the measurement is made.
|
org.joda.time.DateTime |
time()
Get point in time for which counter was measured.
|
Double |
value()
Get value of counter at a certain time.
|
PerfMonSample |
withInstanceName(String instanceName)
Set name of the server on which the measurement is made.
|
PerfMonSample |
withTime(org.joda.time.DateTime time)
Set point in time for which counter was measured.
|
PerfMonSample |
withValue(Double value)
Set value of counter at a certain time.
|
public org.joda.time.DateTime time()
public PerfMonSample withTime(org.joda.time.DateTime time)
time - the time value to setpublic String instanceName()
public PerfMonSample withInstanceName(String instanceName)
instanceName - the instanceName value to setpublic Double value()
public PerfMonSample withValue(Double value)
value - the value value to setCopyright © 2019. All rights reserved.