|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.report.bucket.BucketSet
public abstract class BucketSet
Bind n buckets to a set. Superclass for timed and discrete buckets.
| Field Summary | |
|---|---|
protected org.activemath.webapp.report.bucket.Bucket[] |
buckets
The buckets of this set |
protected BucketType |
bucketType
Type of all buckets in this set |
protected int |
numBuckets
number of buckets of this set |
protected org.activemath.webapp.report.bucket.Bucket |
overflow
|
protected long |
referenceTs
|
protected org.activemath.webapp.report.bucket.Bucket |
underflow
|
| Constructor Summary | |
|---|---|
protected |
BucketSet(BucketType bucketType,
int numBuckets)
|
| Method Summary | |
|---|---|
void |
addElement(long timestamp,
Long value)
|
protected org.activemath.webapp.report.bucket.Bucket[] |
createBuckets(long refTs)
Allocate & initialize the buckets of this set. |
org.activemath.webapp.report.bucket.Bucket[] |
getBuckets()
|
BucketType |
getBucketType()
|
String |
getCounts()
|
long |
getEndTime()
|
int |
getMaxCount()
|
long |
getMaxValue()
|
int |
getMinCount()
|
long |
getMinValue()
|
int |
getNumBuckets()
|
org.activemath.webapp.report.bucket.Bucket |
getOverflow()
|
long |
getReferenceTs()
|
long |
getStartTime()
|
int |
getTotalCount()
|
long |
getTotalValue()
|
org.activemath.webapp.report.bucket.Bucket |
getUnderflow()
|
String |
getValues()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected BucketType bucketType
protected int numBuckets
protected org.activemath.webapp.report.bucket.Bucket[] buckets
protected org.activemath.webapp.report.bucket.Bucket overflow
protected org.activemath.webapp.report.bucket.Bucket underflow
protected long referenceTs
| Constructor Detail |
|---|
protected BucketSet(BucketType bucketType,
int numBuckets)
| Method Detail |
|---|
public String toString()
toString in class Objectprotected org.activemath.webapp.report.bucket.Bucket[] createBuckets(long refTs)
refTS - - reference timestamp, indicating a time inside the last bucket.
public void addElement(long timestamp,
Long value)
timestamp - value - - may be nullpublic String getCounts()
public String getValues()
public org.activemath.webapp.report.bucket.Bucket[] getBuckets()
public org.activemath.webapp.report.bucket.Bucket getOverflow()
public org.activemath.webapp.report.bucket.Bucket getUnderflow()
public long getReferenceTs()
public BucketType getBucketType()
public int getNumBuckets()
public int getTotalCount()
public int getMaxCount()
public int getMinCount()
public long getTotalValue()
public long getMaxValue()
public long getMinValue()
public long getEndTime()
public long getStartTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||