Package org.apache.cassandra.schema
Interface SchemaUpdateHandlerFactory
- All Known Implementing Classes:
DefaultSchemaUpdateHandlerFactory
public interface SchemaUpdateHandlerFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetSchemaUpdateHandler(boolean online, BiConsumer<SchemaTransformation.SchemaTransformationResult, Boolean> updateSchemaCallback) A factory which provides the appropriate schema update handler.
-
Method Details
-
getSchemaUpdateHandler
SchemaUpdateHandler getSchemaUpdateHandler(boolean online, BiConsumer<SchemaTransformation.SchemaTransformationResult, Boolean> updateSchemaCallback) A factory which provides the appropriate schema update handler. The actual implementation may be different for different run modes (client, tool, daemon).- Parameters:
online- whether schema update handler should work online and be aware of the other nodes (when in daemon mode)updateSchemaCallback- callback which will be called right after the shared schema is updated
-