We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4d317 commit ff115d2Copy full SHA for ff115d2
1 file changed
sdk/src/main/java/com/amazonaws/lambda/durable/CallbackConfig.java
@@ -17,10 +17,20 @@ private CallbackConfig(Builder builder) {
17
this.serDes = builder.serDes;
18
}
19
20
+ /**
21
+ * Returns the maximum duration to wait for the callback to complete.
22
+ *
23
+ * @return the timeout duration, or null if not specified
24
+ */
25
public Duration timeout() {
26
return timeout;
27
28
29
30
+ * Returns the maximum duration between heartbeats before the callback is considered failed.
31
32
+ * @return the heartbeat timeout duration, or null if not specified
33
34
public Duration heartbeatTimeout() {
35
return heartbeatTimeout;
36
0 commit comments