接口 TrackerClient

所有已知实现类:
DefaultTrackerClient

public interface TrackerClient
目录服务(Tracker)客户端接口
作者:
tobato
  • 方法详细资料

    • getStoreStorage

      StorageNode getStoreStorage()
      获取存储节点 get the StoreStorage Client
      返回:
    • getStoreStorage

      StorageNode getStoreStorage(String groupName)
      按组获取存储节点 get the StoreStorage Client by group
      参数:
      groupName -
      返回:
    • getFetchStorage

      StorageNodeInfo getFetchStorage(String groupName, String filename)
      获取读取存储节点 get the fetchStorage Client by group and filename
      参数:
      groupName -
      filename -
      返回:
    • getUpdateStorage

      StorageNodeInfo getUpdateStorage(String groupName, String filename)
      获取更新节点 get the updateStorage Client by group and filename
      参数:
      groupName -
      filename -
      返回:
    • listGroups

      List<GroupState> listGroups()
      获取组状态list groups
      返回:
    • listStorages

      List<StorageState> listStorages(String groupName)
      按组名获取存储节点状态list storages by groupName
      参数:
      groupName -
      返回:
    • listStorages

      List<StorageState> listStorages(String groupName, String storageIpAddr)
      获取存储状态 list storages by groupName and storageIpAddr
      参数:
      groupName -
      storageIpAddr -
      返回:
    • deleteStorage

      void deleteStorage(String groupName, String storageIpAddr)
      删除存储节点 delete storage from TrackerServer
      参数:
      groupName -
      storageIpAddr -