//
/**
+ * Returns the current rate of this input stream, averaged over the maximum
+ * lifetime of the counter data.
+ *
+ * @return The current rate of this input stream, in bytes/second
+ */
+ public long getCurrentRate() {
+ return accumulatingDataCounter.getCurrentRate();
+ }
+
+ /**
* Returns the current rate of this input stream, averaged over the given
* amount of milliseconds.
*