接口 DistroDataProcessor


  • public interface DistroDataProcessor
    Distro data processor.
    作者:
    xiweng.yy
    • 方法详细资料

      • processType

        java.lang.String processType()
        Process type of this processor.
        返回:
        type of this processor
      • processData

        boolean processData​(DistroData distroData)
        Process received data.
        参数:
        distroData - received data
        返回:
        true if process data successfully, otherwise false
      • processVerifyData

        boolean processVerifyData​(DistroData distroData,
                                  java.lang.String sourceAddress)
        Process received verify data.
        参数:
        distroData - verify data
        sourceAddress - source server address, might be get data from source server
        返回:
        true if the data is available, otherwise false
      • processSnapshot

        boolean processSnapshot​(DistroData distroData)
        Process snapshot data.
        参数:
        distroData - snapshot data
        返回:
        true if process data successfully, otherwise false