public class ExceptionResponseActionBuilderImpl extends Object implements ExceptionResponseActionBuilder
| Constructor and Description |
|---|
ExceptionResponseActionBuilderImpl(io.grpc.Status status) |
ExceptionResponseActionBuilderImpl(Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
<RespT> TerminatingResponseAction<RespT> |
build() |
ExceptionResponseActionBuilder |
withDelay(Delay delay)
Configure a
Delay for the response action. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithFixedDelay, withFixedDelay, withRandomDelay, withRandomDelay, withRandomDelay, withRandomDelaypublic ExceptionResponseActionBuilderImpl(@Nonnull Throwable exception)
public ExceptionResponseActionBuilderImpl(@Nonnull io.grpc.Status status)
public ExceptionResponseActionBuilder withDelay(@Nonnull Delay delay)
DelayBuilderStepConfigure a Delay for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
withDelay in interface DelayBuilderStep<ExceptionResponseActionBuilder>public <RespT> TerminatingResponseAction<RespT> build()
build in interface ExceptionResponseActionBuilderCopyright © 2023. All rights reserved.