@Stability.Internal public class ProtostellarRequestBehaviour extends Object
| Constructor and Description |
|---|
ProtostellarRequestBehaviour(Duration retryDuration,
RuntimeException exception) |
| Modifier and Type | Method and Description |
|---|---|
RuntimeException |
exception() |
static ProtostellarRequestBehaviour |
fail(RuntimeException err) |
static ProtostellarRequestBehaviour |
retry(Duration retryDuration) |
Duration |
retryDuration() |
static ProtostellarRequestBehaviour |
success() |
public ProtostellarRequestBehaviour(@Nullable Duration retryDuration, @Nullable RuntimeException exception)
public static ProtostellarRequestBehaviour retry(Duration retryDuration)
public static ProtostellarRequestBehaviour fail(RuntimeException err)
public static ProtostellarRequestBehaviour success()
@Nullable public RuntimeException exception()
Copyright © 2024 Couchbase, Inc.. All rights reserved.