Constructor and Description |
---|
HistoryLevelSetupCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
acquireExclusiveLock(CommandContext commandContext) |
protected void |
checkStartupLockExists(CommandContext commandContext) |
static Integer |
databaseHistoryLevel(CommandContext commandContext) |
static void |
dbCreateHistoryLevel(CommandContext commandContext) |
protected void |
determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration,
HistoryLevel databaseHistoryLevel) |
Void |
execute(CommandContext commandContext) |
boolean |
isRetryable()
When CockroachDB is used, this command may be retried multiple times until
it is successful, or the retries are exhausted.
|
public Void execute(CommandContext commandContext)
public static void dbCreateHistoryLevel(CommandContext commandContext)
public static Integer databaseHistoryLevel(CommandContext commandContext)
null
if none foundprotected void determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration, HistoryLevel databaseHistoryLevel)
protected void checkStartupLockExists(CommandContext commandContext)
protected void acquireExclusiveLock(CommandContext commandContext)
public boolean isRetryable()
isRetryable
in interface Command<Void>
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.