Interface PayloadHandler

All Known Implementing Classes:
ClusterSearchEngine, ClusterStorer, 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 Summary

    Modifier and Type
    Method
    Description
    handle(Payload payload)
    Invoked when a new message arrives from the cluster.
  • Method Details

    • handle

      Object handle(Payload payload) throws com.logicaldoc.core.PersistenceException
      Invoked when a new message arrives from the cluster.
      Parameters:
      payload - Payload to be processed
      Returns:
      The response to the received message
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the data layer