public class NullThroughputEstimator<T> extends java.lang.Object implements ThroughputEstimator<T>
Constructor and Description |
---|
NullThroughputEstimator() |
Modifier and Type | Method and Description |
---|---|
double |
getFrom(com.google.cloud.Timestamp time)
Always returns 0.
|
void |
update(com.google.cloud.Timestamp timeOfRecords,
T element)
NoOp.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public void update(com.google.cloud.Timestamp timeOfRecords, T element)
update
in interface ThroughputEstimator<T>
timeOfRecords
- ignoredelement
- ignoredpublic double getFrom(com.google.cloud.Timestamp time)
getFrom
in interface ThroughputEstimator<T>
time
- ignored