Package org.apache.cassandra.schema
Interface SchemaUpdateHandlerFactory
-
- All Known Implementing Classes:
DefaultSchemaUpdateHandlerFactory
public interface SchemaUpdateHandlerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaUpdateHandler
getSchemaUpdateHandler(boolean online, java.util.function.BiConsumer<SchemaTransformation.SchemaTransformationResult,java.lang.Boolean> updateSchemaCallback)
A factory which provides the appropriate schema update handler.
-
-
-
Method Detail
-
getSchemaUpdateHandler
SchemaUpdateHandler getSchemaUpdateHandler(boolean online, java.util.function.BiConsumer<SchemaTransformation.SchemaTransformationResult,java.lang.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
-
-