Class CrdbTransactionRetryInterceptor
- java.lang.Object
-
- org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
-
- org.camunda.bpm.engine.impl.interceptor.CrdbTransactionRetryInterceptor
-
- All Implemented Interfaces:
CommandExecutor
public class CrdbTransactionRetryInterceptor extends CommandInterceptor
A CockroachDB-specific Command interceptor to catch optimistic locking errors (classified as aCrdbTransactionRetryException). The interceptor then retries the Command multiple times, according to the retries set by theProcessEngineConfigurationImplcommandRetries property.
-
-
Field Summary
Fields Modifier and Type Field Description protected intretries-
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
next
-
-
Constructor Summary
Constructors Constructor Description CrdbTransactionRetryInterceptor(int retries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Texecute(Command<T> command)protected booleanisRetryable(Command<?> command)-
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
getNext, setNext
-
-