接口 DistroDataStorage


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

    • finishInitial

      void finishInitial()
      Set this distro data storage has finished initial step.
    • isFinishInitial

      boolean isFinishInitial()
      Whether this distro data is finished initial.

      If not finished, this data storage should not send verify data to other node.

      返回:
      true if finished, otherwise false
    • getDistroData

      DistroData getDistroData(DistroKey distroKey)
      Get distro datum.
      参数:
      distroKey - key of distro datum
      返回:
      need to sync datum
    • getDatumSnapshot

      DistroData getDatumSnapshot()
      Get all distro datum snapshot.
      返回:
      all datum
    • getVerifyData

      List<DistroData> getVerifyData()
      Get verify datum.
      返回:
      verify datum