-
- All Superinterfaces:
FtHandler
public interface Timeout extends FtHandler
Timeout attempts to terminate execution after a duration time passes. In such a case, the consumer of this handler receives aSingleorMultiwith aTimeoutException.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTimeout.BuilderFluent API builder forTimeout.
-
Method Summary
Static Methods Modifier and Type Method Description static Timeout.Builderbuilder()A builder to create a customizedTimeout.static Timeoutcreate(Duration timeout)Create aTimeoutwith specified timeout.-
Methods inherited from interface io.helidon.faulttolerance.FtHandler
invoke, invokeMulti, name
-
-
-
-
Method Detail
-
builder
static Timeout.Builder builder()
A builder to create a customizedTimeout.- Returns:
- a new builder
-
-