com.aliyun.openservices.log.response.ConsumerGroupHeartBeatResponse Maven / Gradle / Ivy
package com.aliyun.openservices.log.response;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class ConsumerGroupHeartBeatResponse extends Response {
private static final long serialVersionUID = 4941087094480475965L;
private List shards;
public ConsumerGroupHeartBeatResponse(Map headers, List shards) {
super(headers);
this.shards = shards;
}
/**
* @deprecated Use {@link #ConsumerGroupHeartBeatResponse(Map, List)} instead.
*/
@Deprecated
public ConsumerGroupHeartBeatResponse(Map headers, ArrayList shards) {
super(headers);
this.shards = shards;
}
/**
* @return the shards consumer should held in time
* @deprecated Use {@link #getShards()} instead.
*/
public ArrayList GetShards() {
return new ArrayList(shards);
}
/**
* @deprecated Use {@link #setShards(List)} instead.
*/
public void SetShards(ArrayList shards) {
this.shards = shards;
}
public List getShards() {
return shards;
}
public void setShards(List shards) {
this.shards = shards;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy