Class NullThroughputEstimator<T>
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.changestreams.estimator.NullThroughputEstimator<T>
- All Implemented Interfaces:
- Serializable,- ThroughputEstimator<T>
NoOp implementation of a throughput estimator. This will always return 0 as the throughput and it
 will warn users that this is being used (it should not be used in production).
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.io.gcp.spanner.changestreams.estimator.ThroughputEstimatorget
- 
Constructor Details- 
NullThroughputEstimatorpublic NullThroughputEstimator()
 
- 
- 
Method Details- 
updateNoOp.- Specified by:
- updatein interface- ThroughputEstimator<T>
- Parameters:
- timeOfRecords- ignored
- element- ignored
 
- 
getFrompublic double getFrom(com.google.cloud.Timestamp time) Always returns 0.- Specified by:
- getFromin interface- ThroughputEstimator<T>
- Parameters:
- time- ignored
- Returns:
- 0
 
 
-