Class SchemaPullVerbHandler

java.lang.Object
org.apache.cassandra.schema.SchemaPullVerbHandler
All Implemented Interfaces:
IVerbHandler<NoPayload>

public final class SchemaPullVerbHandler extends Object implements IVerbHandler<NoPayload>
Sends it's current schema state in form of mutations in response to the remote node's request. Such a request is made when one of the nodes, by means of Gossip, detects schema disagreement in the ring.
  • Field Details

  • Constructor Details

    • SchemaPullVerbHandler

      public SchemaPullVerbHandler()
  • Method Details

    • register

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

      public void doVerb(Message<NoPayload> 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<NoPayload>
      Parameters:
      message - - incoming message that needs handling.