Class RateLimitPolicyFactory.DelayIntervalRateLimiter
java.lang.Object
org.apache.beam.sdk.io.aws2.kinesis.RateLimitPolicyFactory.DelayIntervalRateLimiter
- All Implemented Interfaces:
 RateLimitPolicy
- Enclosing interface:
 RateLimitPolicyFactory
public static class RateLimitPolicyFactory.DelayIntervalRateLimiter
extends Object
implements RateLimitPolicy
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidonSuccess(List<KinesisRecord> records) Called after Kinesis records are successfully retrieved.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.io.aws2.kinesis.RateLimitPolicy
onThrottle 
- 
Constructor Details
- 
DelayIntervalRateLimiter
public DelayIntervalRateLimiter() - 
DelayIntervalRateLimiter
 
 - 
 - 
Method Details
- 
onSuccess
Description copied from interface:RateLimitPolicyCalled after Kinesis records are successfully retrieved.- Specified by:
 onSuccessin interfaceRateLimitPolicy- Parameters:
 records- The list of retrieved records.- Throws:
 InterruptedException
 
 -