hudson.node_monitors
Class ResponseTimeMonitor.Data

java.lang.Object
  extended by hudson.slaves.OfflineCause
      extended by hudson.node_monitors.ResponseTimeMonitor.Data
Enclosing class:
ResponseTimeMonitor

@ExportedBean
public static final class ResponseTimeMonitor.Data
extends OfflineCause

Immutable representation of the monitoring data.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.slaves.OfflineCause
OfflineCause.ByCLI, OfflineCause.ChannelTermination, OfflineCause.LaunchFailed, OfflineCause.SimpleOfflineCause
 
Method Summary
 long getAverage()
          Computes the average response time, by taking the time out into account.
 boolean hasTooManyTimeouts()
           
 String toString()
          HTML rendering of the data
 
Methods inherited from class hudson.slaves.OfflineCause
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAverage

@Exported
public long getAverage()
Computes the average response time, by taking the time out into account.


hasTooManyTimeouts

public boolean hasTooManyTimeouts()

toString

public String toString()
HTML rendering of the data

Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.