public class Metering
extends java.lang.Object
| Constructor and Description | 
|---|
| Metering(RestClient client) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.io.InputStream | getStatisticsForHourAsStream(java.util.Date date)Gets the statistics for the hour of the given date. | 
| java.io.InputStream | getStatisticsForMinuteAsStream(java.util.Date date)Gets the statistics for the minute of the given date. | 
| java.io.InputStream | getStatisticsForTimeBucketAsStream(java.lang.String timeBucket)Gets the statistics for the given time bucket, as a stream. | 
public Metering(RestClient client)
public java.io.InputStream getStatisticsForHourAsStream(java.util.Date date)
date - the date to format as an hour time bucket.getStatisticsForTimeBucketAsStream(String), 
TimeBucketUtils.forHour(Date)public java.io.InputStream getStatisticsForMinuteAsStream(java.util.Date date)
date - the date to format as a minute time bucket.getStatisticsForTimeBucketAsStream(String), 
TimeBucketUtils.forMinute(Date)public java.io.InputStream getStatisticsForTimeBucketAsStream(java.lang.String timeBucket)
timeBucket - the time bucket for which to retrieve the stats.