All Packages Class Hierarchy This Package Previous Next Index
Class benno.dystat.ResourceCounter
java.lang.Object
|
+----benno.dystat.ResourceCounter
- public class ResourceCounter
- extends Object
- implements Serializable
Maybe will need to implement optional normalisation strategies to do,
for example, counts per calendar month - maybe Calendrical Calculations
has some hints, or maybe just parse the date.
-
NOBUCKET
- This is an indicator constant to symbolise that the requested
bucket has expired.
-
addBucket(Bucket)
-
-
dump()
-
-
getBucket(Date)
-
-
normalise(Date)
- This function normalises a date into the appropriate canoncical date, for
looking up the relevant bucket.
-
normalise(Date, boolean)
-
-
present(StatLine)
-
-
store(StorageManager)
-
NOBUCKET
public static final Bucket NOBUCKET
- This is an indicator constant to symbolise that the requested
bucket has expired.
present
public void present(StatLine sl)
getBucket
public Bucket getBucket(Date d)
addBucket
public void addBucket(Bucket b)
normalise
public Date normalise(Date d)
- This function normalises a date into the appropriate canoncical date, for
looking up the relevant bucket.
If we should not put the date into a bucket, null is returned.
normalise
public Date normalise(Date d,
boolean unused)
dump
public void dump()
store
public void store(StorageManager store)
All Packages Class Hierarchy This Package Previous Next Index