com.github.tobato.fastdfs.proto.tracker.TrackerDeleteStorageCommand 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.proto.AbstractFdfsCommand;
import com.github.tobato.fastdfs.proto.FdfsResponse;
import com.github.tobato.fastdfs.proto.tracker.internal.TrackerDeleteStorageRequest;
/**
* 移除存储服务器命令
*
* @author tobato
*
*/
public class TrackerDeleteStorageCommand extends AbstractFdfsCommand {
public TrackerDeleteStorageCommand(String groupName, String storageIpAddr) {
super.request = new TrackerDeleteStorageRequest(groupName, storageIpAddr);
super.response = new FdfsResponse() {
// default response
};
}
}