@ExportedBean public static final class ResponseTimeMonitor.Data extends MonitorOfflineCause implements Serializable
OfflineCause.ByCLI, OfflineCause.ChannelTermination, OfflineCause.IdleOfflineCause, OfflineCause.LaunchFailed, OfflineCause.SimpleOfflineCause, OfflineCause.UserCause
timestamp
Modifier and Type | Method and Description |
---|---|
long |
getAverage()
Computes the average response time, by taking the time out into account.
|
Class<? extends NodeMonitor> |
getTrigger()
Identify monitor implementation that put computer offline.
|
boolean |
hasTooManyTimeouts() |
String |
toString()
String rendering of the data
|
create, getTime, getTimestamp
@Exported public long getAverage()
public boolean hasTooManyTimeouts()
public Class<? extends NodeMonitor> getTrigger()
MonitorOfflineCause
getTrigger
in class MonitorOfflineCause
Copyright © 2004–2021. All rights reserved.