public interface Command<T>
Modifier and Type | Method and Description |
---|---|
T |
execute(CommandContext commandContext) |
default boolean |
isRetryable() |
T execute(CommandContext commandContext)
default boolean isRetryable()
CrdbTransactionRetryInterceptor
can make a transparent retry of this command upon failure
with a CrdbTransactionRetryException
(only used when running on CockroachDB).Copyright © 2022. All rights reserved.