com.jakewharton.pingdom.entities
Class SummaryAverage.ResponseTime

java.lang.Object
  extended by com.jakewharton.pingdom.entities.SummaryAverage.ResponseTime
All Implemented Interfaces:
PingdomEntity, Serializable
Enclosing class:
SummaryAverage

public static final class SummaryAverage.ResponseTime
extends Object
implements PingdomEntity

Represents a Pingdom response time object.

See Also:
Serialized Form

Nested Class Summary
static class SummaryAverage.ResponseTime.AvgResponseWrapper
          Wrapper for the average response field of a SummaryAverage.ResponseTime providing either a single integer value or a list of probe-specific response times.
static class SummaryAverage.ResponseTime.ProbeResponseTime
          Represents a Pingdom probe response time object.
 
Constructor Summary
SummaryAverage.ResponseTime()
           
 
Method Summary
 SummaryAverage.ResponseTime.AvgResponseWrapper getAvgResponse()
          Total average response time in milliseconds.
 Date getFrom()
          Start time of period.
 Date getTo()
          End time of period.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SummaryAverage.ResponseTime

public SummaryAverage.ResponseTime()
Method Detail

getFrom

public Date getFrom()
Start time of period.

Returns:
Value.
Since:
2.0

getTo

public Date getTo()
End time of period.

Returns:
Value.
Since:
2.0

getAvgResponse

public SummaryAverage.ResponseTime.AvgResponseWrapper getAvgResponse()
Total average response time in milliseconds.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.