public class MeterData extends SystemData
SystemData with start, stop, failure and flow information measured by Meter.| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
context
Additional meta data describing the job.
|
protected long |
createTime
When the job was created/scheduled.
|
protected java.lang.String |
description
An arbitrary short, human readable message to describe the task being measured.
|
static char |
DETAILED_MESSAGE_PREFIX |
static java.lang.String |
EVENT_CATEGORY |
static java.lang.String |
EVENT_NAME |
static java.lang.String |
EVENT_PARENT |
protected java.lang.String |
eventCategory
Identifier that categorizes events.
|
protected java.lang.String |
eventName
Identifier of the event.
|
protected java.lang.String |
eventParent
Full ID of the parent event.
|
protected long |
expectedIterations
How many iteration were expected by the operation.
|
protected java.lang.String |
failClass
For failure result, the exception class that caused the failure.
|
protected java.lang.String |
failMessage
For failure result, the exception message that caused the failure.
|
protected long |
iteration
How many iterations were run by the operation.
|
protected java.lang.String |
pathId
For successful execution, the string token that identifies the execution pathId.
|
static java.lang.String |
PROP_CONTEXT |
static java.lang.String |
PROP_CREATE_TIME |
static java.lang.String |
PROP_DESCRIPTION |
static java.lang.String |
PROP_EXPECTED_ITERATION |
static java.lang.String |
PROP_FAIL_ID |
static java.lang.String |
PROP_ITERATION |
static java.lang.String |
PROP_LIMIT_TIME |
static java.lang.String |
PROP_PATH_ID |
static java.lang.String |
PROP_REJECT_ID |
static java.lang.String |
PROP_START_TIME |
static java.lang.String |
PROP_STOP_TIME |
static java.lang.String |
PROP_THREAD |
protected java.lang.String |
rejectId
For rejected execution, the string token that identifies the rejection cause.
|
protected long |
startTime
When the job started execution.
|
protected long |
stopTime
When the job finished execution.
|
protected long |
timeLimitNanoseconds
Time considered reasonable for successful execution.
|
classLoading_loaded, classLoading_total, classLoading_unloaded, compilationTime, garbageCollector_count, garbageCollector_time, heap_commited, heap_max, heap_used, nonHeap_commited, nonHeap_max, nonHeap_used, objectPendingFinalizationCount, PROP_CLASS_LOADING, PROP_COMPILATION_TIME, PROP_FINALIZATION_COUNT, PROP_GARBAGE_COLLECTOR, PROP_HEAP, PROP_MEMORY, PROP_NON_HEAP, PROP_SYSTEM_LOAD, runtime_maxMemory, runtime_totalMemory, runtime_usedMemory, systemLoadEVENT_POSITION, EVENT_TIME, eventPosition, SESSION_UUID, sessionUuid, time| Constructor and Description |
|---|
MeterData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getContext() |
long |
getCreateTime() |
long |
getCurrentIteration() |
java.lang.String |
getDescription() |
java.lang.String |
getEventCategory() |
java.lang.String |
getEventName() |
java.lang.String |
getEventParent() |
java.lang.String |
getExceptionClass() |
java.lang.String |
getExceptionMessage() |
long |
getExecutionTime() |
long |
getExpectedIterations() |
java.lang.String |
getFullID() |
double |
getIterationsPerSecond() |
java.lang.String |
getPathId() |
java.lang.String |
getRejectId() |
long |
getStartTime() |
long |
getStopTime() |
long |
getTimeLimitNanoseconds() |
long |
getWaitingTime() |
int |
hashCode() |
protected boolean |
isCompletelyEqualsImpl(EventData obj)
Subclasses shall provide an implementation that compares its specific
properties to the respective properties of the other instance given as
argument.
|
boolean |
isFail() |
boolean |
isOK() |
boolean |
isReject() |
boolean |
isSlow() |
boolean |
isStarted() |
boolean |
isStopped() |
boolean |
read(java.lang.String message) |
java.lang.StringBuilder |
readableString(java.lang.StringBuilder buffer)
Writes a concise, human readable string representation of the event into
the supplied StringBuilder.
|
java.lang.String |
readableWrite() |
protected boolean |
readPropertyImpl(EventReader r,
java.lang.String propertyName)
Subclasses shall provide an implementation that reads its specific
properties from the encoded string representation.
|
protected void |
resetImpl()
Subclasses shall provide an implementation that resets its specific
properties to their constructor initial value.
|
java.lang.String |
write() |
void |
writePropertiesImpl(EventWriter w)
Subclasses shall provide an implementation that appends its specific
properties to the encoded string representation.
|
collectManagedBeanStatus, collectPlatformStatus, collectRuntimeStatusgetEventPosition, getSessionUuid, getTime, isCompletelyEqualsTo, read, reset, writepublic static final char DETAILED_MESSAGE_PREFIX
protected java.lang.String eventCategory
protected java.lang.String eventName
protected java.lang.String eventParent
protected java.lang.String description
protected java.lang.String pathId
protected java.lang.String rejectId
protected long createTime
protected long startTime
protected long stopTime
protected long iteration
protected long expectedIterations
protected java.lang.String failClass
protected java.lang.String failMessage
protected long timeLimitNanoseconds
protected java.util.Map<java.lang.String,java.lang.String> context
public static final java.lang.String PROP_DESCRIPTION
public static final java.lang.String PROP_PATH_ID
public static final java.lang.String PROP_REJECT_ID
public static final java.lang.String PROP_FAIL_ID
public static final java.lang.String PROP_CREATE_TIME
public static final java.lang.String PROP_START_TIME
public static final java.lang.String PROP_STOP_TIME
public static final java.lang.String PROP_ITERATION
public static final java.lang.String PROP_EXPECTED_ITERATION
public static final java.lang.String PROP_LIMIT_TIME
public static final java.lang.String PROP_THREAD
public static final java.lang.String PROP_CONTEXT
public static final java.lang.String EVENT_CATEGORY
public static final java.lang.String EVENT_NAME
public static final java.lang.String EVENT_PARENT
public java.lang.String getFullID()
public java.lang.String getEventCategory()
public java.lang.String getEventName()
public java.lang.String getEventParent()
public java.lang.String getDescription()
public java.lang.String getPathId()
public java.lang.String getRejectId()
public long getCreateTime()
public long getStartTime()
public long getStopTime()
public long getCurrentIteration()
public long getExpectedIterations()
public java.lang.String getExceptionClass()
public java.lang.String getExceptionMessage()
public boolean isStarted()
public boolean isStopped()
public boolean isOK()
public boolean isReject()
public boolean isFail()
public long getTimeLimitNanoseconds()
public java.util.Map<java.lang.String,java.lang.String> getContext()
protected void resetImpl()
EventDataresetImpl in class SystemDataprotected boolean isCompletelyEqualsImpl(EventData obj)
EventDataisCompletelyEqualsImpl in class SystemDataobj - the other EventData instance been compared to.public java.lang.StringBuilder readableString(java.lang.StringBuilder buffer)
EventDatareadableString in class EventDatabuffer - The StringBuilder that receives the string representationpublic boolean isSlow()
public long getExecutionTime()
public long getWaitingTime()
public double getIterationsPerSecond()
public void writePropertiesImpl(EventWriter w)
EventDatawritePropertiesImpl in class SystemDataw - The EventWriter that encodes the properties.protected boolean readPropertyImpl(EventReader r, java.lang.String propertyName) throws java.io.IOException
EventDatareadPropertyImpl in class SystemDatar - The EventReader that is parsing the message. Use this parser to
retrieve the property value.propertyName - The property key.java.io.IOException - the EventReader failed to parse the encoded property
value.public final boolean read(java.lang.String message)
public final java.lang.String write()
public final java.lang.String readableWrite()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object