Class CrdbTransactionRetryInterceptor
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
org.camunda.bpm.engine.impl.interceptor.CrdbTransactionRetryInterceptor
- All Implemented Interfaces:
CommandExecutor
A CockroachDB-specific Command interceptor to catch optimistic locking
errors (classified as a
CrdbTransactionRetryException
). The
interceptor then retries the Command multiple times, according to the
retries set by the ProcessEngineConfigurationImpl
commandRetries property.-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
next
-
Constructor Summary
-
Method Summary
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
getNext, setNext
-
Field Details
-
retries
protected int retries
-
-
Constructor Details
-
CrdbTransactionRetryInterceptor
public CrdbTransactionRetryInterceptor(int retries)
-
-
Method Details
-
execute
-
isRetryable
-