Interface PayloadHandler

  • All Known Implementing Classes:
    ClusterSearchEngine, ScopedContextProperties

    public interface PayloadHandler
    Implementations of this interface will handle new incoming messages from other notes of the cluster.
    Since:
    6.5
    Author:
    Marco Meschieri - LogicalDOC
    • Method Detail

      • handle

        Object handle​(Payload payload)
               throws Exception
        Invoked when a new message arrives from the cluster.
        Parameters:
        payload - Payload to be processed
        Returns:
        The response to the received message
        Throws:
        Exception - a generic error