Class SchemaPushVerbHandler

java.lang.Object
org.apache.cassandra.schema.SchemaPushVerbHandler
All Implemented Interfaces:
IVerbHandler<Collection<Mutation>>

public final class SchemaPushVerbHandler extends Object implements IVerbHandler<Collection<Mutation>>
Called when node receives updated schema state from the schema migration coordinator node. Such happens when user makes local schema migration on one of the nodes in the ring (which is going to act as coordinator) and that node sends (pushes) it's updated schema state (in form of mutations) to all the alive nodes in the cluster.
  • Field Details

  • Constructor Details

    • SchemaPushVerbHandler

      public SchemaPushVerbHandler()
  • Method Details

    • register

      public void register(Consumer<Message<Collection<Mutation>>> handler)
    • doVerb

      public void doVerb(Message<Collection<Mutation>> message)
      Description copied from interface: IVerbHandler
      This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers). Note that the caller should not be holding any locks when calling this method because the implementation may be synchronized.
      Specified by:
      doVerb in interface IVerbHandler<Collection<Mutation>>
      Parameters:
      message - - incoming message that needs handling.