com.luhuiguo.fastdfs.proto.tracker.TrackerGetStoreStorageCommand Maven / Gradle / Ivy
The newest version!
package com.luhuiguo.fastdfs.proto.tracker;
import com.luhuiguo.fastdfs.domain.StorageNode;
import com.luhuiguo.fastdfs.proto.AbstractFdfsCommand;
import com.luhuiguo.fastdfs.proto.FdfsResponse;
import com.luhuiguo.fastdfs.proto.tracker.internal.TrackerGetStoreStorageRequest;
import com.luhuiguo.fastdfs.proto.tracker.internal.TrackerGetStoreStorageWithGroupRequest;
/**
* 获取存储节点命令
*
* @author tobato
*
*/
public class TrackerGetStoreStorageCommand extends AbstractFdfsCommand {
public TrackerGetStoreStorageCommand(String groupName) {
super.request = new TrackerGetStoreStorageWithGroupRequest(groupName);
super.response = new FdfsResponse() {
// default response
};
}
public TrackerGetStoreStorageCommand() {
super.request = new TrackerGetStoreStorageRequest();
super.response = new FdfsResponse() {
// default response
};
}
}