com.github.tobato.fastdfs.proto.tracker.TrackerGetFetchStorageCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastdfs-client Show documentation
Show all versions of fastdfs-client Show documentation
基于yuqih发布的代码与fastdfs-client 官方1.26版本的重构
package com.github.tobato.fastdfs.proto.tracker;
import com.github.tobato.fastdfs.domain.StorageNodeInfo;
import com.github.tobato.fastdfs.proto.AbstractFdfsCommand;
import com.github.tobato.fastdfs.proto.FdfsResponse;
import com.github.tobato.fastdfs.proto.tracker.internal.TrackerGetFetchStorageRequest;
/**
* 获取源服务器
*
* @author tobato
*
*/
public class TrackerGetFetchStorageCommand extends AbstractFdfsCommand {
public TrackerGetFetchStorageCommand(String groupName, String path, boolean toUpdate) {
super.request = new TrackerGetFetchStorageRequest(groupName, path, toUpdate);
super.response = new FdfsResponse() {
// default response
};
}
}