接口 DistroDataProcessor
-
public interface DistroDataProcessorDistro data processor.- 作者:
- xiweng.yy
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 booleanprocessData(DistroData distroData)Process received data.booleanprocessSnapshot(DistroData distroData)Process snapshot data.java.lang.StringprocessType()Process type of this processor.booleanprocessVerifyData(DistroData distroData, java.lang.String sourceAddress)Process received verify data.
-
-
-
方法详细资料
-
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 datasourceAddress- 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
-
-