com.yanyun.log.configuration.properties.HbaseProperties Maven / Gradle / Ivy
package com.yanyun.log.configuration.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* hbase的配置项
*/
@ConfigurationProperties(prefix = "gather.hbase")
public class HbaseProperties {
//zookeeper集群地址
private String zookeeperCluster;
//hbase的master地址
private String hbaseMaster;
//hbase的表名称
private String tableName;
//hbase的列簇名称
private String columnFamily;
//客户端 所属 ClientId
private String clientId;
//连接池核心数
private Integer poolCoreSize;
//最大数
private Integer poolMaxSize;
//存活时长
private long keepAliveTime;
//队列大小
private Integer queueSize;
public String getZookeeperCluster() {
return zookeeperCluster;
}
public void setZookeeperCluster(String zookeeperCluster) {
this.zookeeperCluster = zookeeperCluster;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getColumnFamily() {
return columnFamily;
}
public void setColumnFamily(String columnFamily) {
this.columnFamily = columnFamily;
}
public String getHbaseMaster() {
return hbaseMaster;
}
public void setHbaseMaster(String hbaseMaster) {
this.hbaseMaster = hbaseMaster;
}
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public Integer getPoolCoreSize() {
return poolCoreSize;
}
public void setPoolCoreSize(Integer poolCoreSize) {
this.poolCoreSize = poolCoreSize;
}
public Integer getPoolMaxSize() {
return poolMaxSize;
}
public void setPoolMaxSize(Integer poolMaxSize) {
this.poolMaxSize = poolMaxSize;
}
public long getKeepAliveTime() {
return keepAliveTime;
}
public void setKeepAliveTime(long keepAliveTime) {
this.keepAliveTime = keepAliveTime;
}
public Integer getQueueSize() {
return queueSize;
}
public void setQueueSize(Integer queueSize) {
this.queueSize = queueSize;
}
}