
org.joyqueue.model.query.QBroker Maven / Gradle / Ivy
/**
* Copyright 2019 The JoyQueue Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.joyqueue.model.query;
import org.joyqueue.model.Query;
import org.joyqueue.model.domain.Identity;
import java.util.List;
/**
* Created by lining on 16-11-28.
*/
public class QBroker implements Query {
private String retryType;
private String ip;
private int brokerId;
private Identity group;
@Deprecated
private long brokerGroupId;
private String keyword;
@Deprecated
private List brokerGroupIds;
private List notInBrokerIds;
private List inBrokerIds;
public String getRetryType() {
return retryType;
}
public void setRetryType(String retryType) {
this.retryType = retryType;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public int getBrokerId() {
return brokerId;
}
public void setBrokerId(int brokerId) {
this.brokerId = brokerId;
}
public long getBrokerGroupId() {
return brokerGroupId;
}
public void setBrokerGroupId(long brokerGroupId) {
this.brokerGroupId = brokerGroupId;
}
public List getBrokerGroupIds() {
return brokerGroupIds;
}
public void setBrokerGroupIds(List brokerGroupIds) {
this.brokerGroupIds = brokerGroupIds;
}
public Identity getGroup() {
return group;
}
public void setGroup(Identity group) {
this.group = group;
}
public List getNotInBrokerIds() {
return notInBrokerIds;
}
public void setNotInBrokerIds(List notInBrokerIds) {
this.notInBrokerIds = notInBrokerIds;
}
public List getInBrokerIds() {
return inBrokerIds;
}
public void setInBrokerIds(List inBrokerIds) {
this.inBrokerIds = inBrokerIds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy