public class KinesisSleepTimeController extends Object implements SleepTimeController
| Constructor and Description |
|---|
KinesisSleepTimeController() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSleepTimeMillis(SleepTimeControllerConfig sleepTimeControllerConfig)
Calculates the sleep time in milliseconds before the next GetRecords call.
|
public long getSleepTimeMillis(SleepTimeControllerConfig sleepTimeControllerConfig)
SleepTimeControllergetSleepTimeMillis in interface SleepTimeControllersleepTimeControllerConfig - contains the last successful call time and the idle time between calls.Copyright © 2025. All rights reserved.