All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.leo.hbase.sdk.starter.boot.HBaseProperties Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package com.leo.hbase.sdk.starter.boot;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 

HBase的连接配置

* * @author leo.jie ([email protected]) */ @ConfigurationProperties(prefix = "spring.data.hbase") public class HBaseProperties { private String quorum="localhost"; private String zkClientPort = "2181"; private String rootDir="/hbase"; private String nodeParent="/hbase"; private String threadPoolName="HBase-DataSource"; private int corePoolSize=2; private int maximumPoolSize=4; private long keepAliveTime=60000; public String getThreadPoolName() { return threadPoolName; } public void setThreadPoolName(String threadPoolName) { this.threadPoolName = threadPoolName; } public int getCorePoolSize() { return corePoolSize; } public void setCorePoolSize(int corePoolSize) { this.corePoolSize = corePoolSize; } public int getMaximumPoolSize() { return maximumPoolSize; } public void setMaximumPoolSize(int maximumPoolSize) { this.maximumPoolSize = maximumPoolSize; } public long getKeepAliveTime() { return keepAliveTime; } public void setKeepAliveTime(long keepAliveTime) { this.keepAliveTime = keepAliveTime; } public String getQuorum() { return quorum; } public void setQuorum(String quorum) { this.quorum = quorum; } public String getRootDir() { return rootDir; } public void setRootDir(String rootDir) { this.rootDir = rootDir; } public String getNodeParent() { return nodeParent; } public void setNodeParent(String nodeParent) { this.nodeParent = nodeParent; } public String getZkClientPort() { return zkClientPort; } public void setZkClientPort(String zkClientPort) { this.zkClientPort = zkClientPort; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy