com.luhuiguo.fastdfs.proto.tracker.TrackerListStoragesCommand Maven / Gradle / Ivy
The newest version!
package com.luhuiguo.fastdfs.proto.tracker;
import java.util.List;
import com.luhuiguo.fastdfs.domain.StorageState;
import com.luhuiguo.fastdfs.proto.AbstractFdfsCommand;
import com.luhuiguo.fastdfs.proto.tracker.internal.TrackerListStoragesRequest;
import com.luhuiguo.fastdfs.proto.tracker.internal.TrackerListStoragesResponse;
/**
* 列出组命令
*
* @author tobato
*
*/
public class TrackerListStoragesCommand extends AbstractFdfsCommand> {
public TrackerListStoragesCommand(String groupName, String storageIpAddr) {
super.request = new TrackerListStoragesRequest(groupName, storageIpAddr);
super.response = new TrackerListStoragesResponse();
}
public TrackerListStoragesCommand(String groupName) {
super.request = new TrackerListStoragesRequest(groupName);
super.response = new TrackerListStoragesResponse();
}
}