com.bigdata.counters
Interface IHistoryEntry<T>

Type Parameters:
T -

public interface IHistoryEntry<T>

A view of a sample period for some History.

Version:
$Id: IHistoryEntry.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 int getCount()
          The #of samples in this period.
 T getTotal()
          The total of the samples in this period.
 T getValue()
          The average of the samples in this period.
 long lastModified()
          The timestamp of the last sample to fall into this period.
 

Method Detail

lastModified

long lastModified()
The timestamp of the last sample to fall into this period. This timestamp will always be GTE #getStartOfSamplePeriod() and LE #getEndOfSamplePeriod().


getValue

T getValue()
The average of the samples in this period.


getCount

int getCount()
The #of samples in this period.


getTotal

T getTotal()
The total of the samples in this period.



Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.