Package org.apache.cassandra.schema
Class SchemaChangeNotifier
java.lang.Object
org.apache.cassandra.schema.SchemaChangeNotifier
Registers schema change listeners and sends the notifications. The interface of this class just takes the high level
keyspace metadata changes. It iterates over all keyspaces elements and distributes appropriate notifications about
changes around those elements (tables, views, types, functions).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyKeyspaceAltered(KeyspaceMetadata.KeyspaceDiff delta, boolean dropData) voidnotifyKeyspaceCreated(KeyspaceMetadata keyspace) voidnotifyKeyspaceDropped(KeyspaceMetadata keyspace, boolean dropData) voidnotifyPreChanges(SchemaTransformation.SchemaTransformationResult transformationResult) voidregisterListener(SchemaChangeListener listener) voidunregisterListener(SchemaChangeListener listener)
-
Constructor Details
-
SchemaChangeNotifier
public SchemaChangeNotifier()
-
-
Method Details
-
registerListener
-
unregisterListener
-
notifyKeyspaceCreated
-
notifyKeyspaceAltered
-
notifyKeyspaceDropped
-
notifyPreChanges
-