public class BootstrapEngineCommand extends Object implements ProcessEngineBootstrapCommand
Modifier and Type | Field and Description |
---|---|
protected static String |
INSTALLATION_PROPERTY_NAME |
protected static String |
TELEMETRY_PROPERTY_NAME |
Constructor and Description |
---|
BootstrapEngineCommand() |
protected static final String TELEMETRY_PROPERTY_NAME
protected static final String INSTALLATION_PROPERTY_NAME
public Void execute(CommandContext commandContext)
protected void createHistoryCleanupJob(CommandContext commandContext)
public void checkDeploymentLockExists(CommandContext commandContext)
public void checkHistoryCleanupLockExists(CommandContext commandContext)
protected boolean isHistoryCleanupEnabled(CommandContext commandContext)
public void initializeTelemetryProperty(CommandContext commandContext)
protected void checkTelemetryLockExists(CommandContext commandContext)
protected PropertyEntity databaseTelemetryConfiguration(CommandContext commandContext)
protected void createTelemetryProperty(CommandContext commandContext)
public void initializeInstallationId(CommandContext commandContext)
protected void createInstallationProperty(CommandContext commandContext)
protected String databaseInstallationId(CommandContext commandContext)
protected void checkInstallationIdLockExists(CommandContext commandContext)
protected void updateTelemetryData(CommandContext commandContext)
protected void startTelemetryReporter(CommandContext commandContext)
protected void acquireExclusiveTelemetryLock(CommandContext commandContext)
protected void acquireExclusiveInstallationIdLock(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.