类 DefaultTrackerClient
java.lang.Object
com.github.tobato.fastdfs.service.DefaultTrackerClient
- 所有已实现的接口:
TrackerClient
目录服务客户端默认实现
- 作者:
- tobato
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddeleteStorage(String groupName, String storageIpAddr) 删除存储节点getFetchStorage(String groupName, String filename) 获取源服务器获取存储节点getStoreStorage(String groupName) 按组获取存储节点getUpdateStorage(String groupName, String filename) 获取更新服务器列出组listStorages(String groupName) 按组列出存储状态listStorages(String groupName, String storageIpAddr) 按ip列出存储状态
-
构造器详细资料
-
DefaultTrackerClient
public DefaultTrackerClient()
-
-
方法详细资料
-
getStoreStorage
获取存储节点- 指定者:
getStoreStorage在接口中TrackerClient- 返回:
-
getStoreStorage
按组获取存储节点- 指定者:
getStoreStorage在接口中TrackerClient- 返回:
-
getFetchStorage
获取源服务器- 指定者:
getFetchStorage在接口中TrackerClient- 返回:
-
getUpdateStorage
获取更新服务器- 指定者:
getUpdateStorage在接口中TrackerClient- 返回:
-
listGroups
列出组- 指定者:
listGroups在接口中TrackerClient- 返回:
-
listStorages
按组列出存储状态- 指定者:
listStorages在接口中TrackerClient- 返回:
-
listStorages
按ip列出存储状态- 指定者:
listStorages在接口中TrackerClient- 返回:
-
deleteStorage
删除存储节点- 指定者:
deleteStorage在接口中TrackerClient
-