Class SchemaPullVerbHandler

  • All Implemented Interfaces:
    IVerbHandler<NoPayload>

    public final class SchemaPullVerbHandler
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doVerb​(Message<NoPayload> message)
      This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).
      void register​(java.util.function.Consumer<Message<NoPayload>> handler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaPullVerbHandler

        public SchemaPullVerbHandler()
    • Method Detail

      • register

        public void register​(java.util.function.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.