|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.counters.History.SampleIterator
public class History.SampleIterator
Takes a snapshot of the samples in the History and then visits those
samples.
| Constructor Summary | |
|---|---|
protected |
History.SampleIterator()
|
| Method Summary | |
|---|---|
long |
getFirstSampleTime()
The timestamp associated with the first sample. |
long |
getLastSampleTime()
The timestamp associated with the last sample. |
int |
getSampleCount()
The #of slots with sampled data. |
boolean |
hasNext()
|
IHistoryEntry<T> |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected History.SampleIterator()
| Method Detail |
|---|
public int getSampleCount()
public long getFirstSampleTime()
-1 if there are no samples.public long getLastSampleTime()
-1 if there are no samples.public boolean hasNext()
hasNext in interface Iterator<IHistoryEntry<T>>public IHistoryEntry<T> next()
next in interface Iterator<IHistoryEntry<T>>public void remove()
remove in interface Iterator<IHistoryEntry<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||