Interface InboundInvocationHandler

  • All Known Implementing Classes:
    GlobalInboundInvocationHandler

    public interface InboundInvocationHandler
    Interface to invoke when the Transport receives a command from other node or site.
    Since:
    7.1
    Author:
    Pedro Ruivo
    • Method Detail

      • handleFromCluster

        void handleFromCluster​(Address origin,
                               org.infinispan.commands.ReplicableCommand command,
                               Reply reply,
                               DeliverOrder order)
        Handles the ReplicableCommand from other node belonging to local site.
        Parameters:
        origin - the sender Address
        command - the ReplicableCommand to handler
        reply - the return value is passed to this object in order to be sent back to the origin
        order - the DeliverOrder in which the command was sent
      • handleFromRemoteSite

        void handleFromRemoteSite​(String origin,
                                  XSiteReplicateCommand command,
                                  Reply reply,
                                  DeliverOrder order)
        Handles the ReplicableCommand from remote site.
        Parameters:
        origin - the sender site
        command - the ReplicableCommand to handle
        reply - the return value is passed to this object in order to be sent back to the origin
        order - the DeliverOrder in which the command was sent