Class AsyncRetryUtils
java.lang.Object
dev.hogwai.dynamodb.simplified.internal.AsyncRetryUtils
Utility for non-blocking async retry delays.
Uses the JDK delayed executor so the library does not own a permanent scheduler thread.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<Void> delay(long millis) Returns aCompletableFuturethat completes after the specified delay.
-
Method Details
-
delay
Returns aCompletableFuturethat completes after the specified delay.- Parameters:
millis- delay in milliseconds- Returns:
- a future that completes after the delay
-