public interface TrackerClient
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteStorage(String groupName,
String storageIpAddr)
删除存储节点 delete storage from TrackerServer
|
StorageNodeInfo |
getFetchStorage(String groupName,
String filename)
获取读取存储节点 get the fetchStorage Client by group and filename
|
StorageNode |
getStoreStorage()
获取存储节点 get the StoreStorage Client
|
StorageNode |
getStoreStorage(String groupName)
按组获取存储节点 get the StoreStorage Client by group
|
StorageNodeInfo |
getUpdateStorage(String groupName,
String filename)
获取更新节点 get the updateStorage Client by group and filename
|
List<GroupState> |
listGroups()
获取组状态list groups
|
List<StorageState> |
listStorages(String groupName)
按组名获取存储节点状态list storages by groupName
|
List<StorageState> |
listStorages(String groupName,
String storageIpAddr)
获取存储状态 list storages by groupName and storageIpAddr
|
StorageNode getStoreStorage()
StorageNode getStoreStorage(String groupName)
groupName - StorageNodeInfo getFetchStorage(String groupName, String filename)
groupName - filename - StorageNodeInfo getUpdateStorage(String groupName, String filename)
groupName - filename - List<GroupState> listGroups()
List<StorageState> listStorages(String groupName)
groupName - List<StorageState> listStorages(String groupName, String storageIpAddr)
groupName - storageIpAddr - Copyright © 2018. All rights reserved.