Class BaseSchemaUpdateService
java.lang.Object
io.datarouter.storage.config.schema.BaseSchemaUpdateService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseSchemaUpdateService(ServerName serverName, EnvironmentName environmentName, AdminEmail adminEmail, DatarouterStorageExecutors.DatarouterSchemaUpdateScheduler executor, javax.inject.Provider<DatarouterClusterSchemaUpdateLockDao> schemaUpdateLockDao, javax.inject.Provider<io.datarouter.instrumentation.changelog.ChangelogRecorder> changelogRecorder, String buildId) -
Method Summary
Modifier and TypeMethodDescriptionfetchExistingTables(ClientId clientId) voidgatherSchemaUpdates(boolean wait) protected abstract Callable<Optional<SchemaUpdateResult>>makeSchemaUpdateCallable(ClientId clientId, Supplier<List<String>> existingTableNames, PhysicalNode<?, ?, ?> node) queueNodeForSchemaUpdate(ClientId clientId, PhysicalNode<?, ?, ?> node) protected abstract void
-
Field Details
-
adminEmail
-
-
Constructor Details
-
BaseSchemaUpdateService
public BaseSchemaUpdateService(ServerName serverName, EnvironmentName environmentName, AdminEmail adminEmail, DatarouterStorageExecutors.DatarouterSchemaUpdateScheduler executor, javax.inject.Provider<DatarouterClusterSchemaUpdateLockDao> schemaUpdateLockDao, javax.inject.Provider<io.datarouter.instrumentation.changelog.ChangelogRecorder> changelogRecorder, String buildId)
-
-
Method Details
-
queueNodeForSchemaUpdate
public Future<Optional<SchemaUpdateResult>> queueNodeForSchemaUpdate(ClientId clientId, PhysicalNode<?, ?, ?> node) -
makeSchemaUpdateCallable
protected abstract Callable<Optional<SchemaUpdateResult>> makeSchemaUpdateCallable(ClientId clientId, Supplier<List<String>> existingTableNames, PhysicalNode<?, ?, ?> node) -
gatherSchemaUpdates
public void gatherSchemaUpdates(boolean wait) -
sendEmail
-
fetchExistingTables
-