类 PolarisStatProperties
java.lang.Object
com.tencent.cloud.rpc.enhancement.stat.config.PolarisStatProperties
@ConfigurationProperties("spring.cloud.polaris.stat")
public class PolarisStatProperties
extends Object
The properties for stat reporter.
- 作者:
- Haotian Zhang
-
构造器概要
构造器 构造器 说明 PolarisStatProperties() -
方法概要
修饰符和类型 方法 说明 StringgetHost()StringgetPath()intgetPort()StringgetPushGatewayAddress()LonggetPushGatewayPushInterval()booleanisEnabled()booleanisPushGatewayEnabled()voidsetEnabled(boolean enabled)voidsetHost(String host)voidsetPath(String path)voidsetPort(int port)voidsetPushGatewayAddress(String pushGatewayAddress)voidsetPushGatewayEnabled(boolean pushGatewayEnabled)voidsetPushGatewayPushInterval(Long pushGatewayPushInterval)
-
构造器详细资料
-
PolarisStatProperties
public PolarisStatProperties()
-
-
方法详细资料
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getHost
-
setHost
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getPath
-
setPath
-
isPushGatewayEnabled
public boolean isPushGatewayEnabled() -
setPushGatewayEnabled
public void setPushGatewayEnabled(boolean pushGatewayEnabled) -
getPushGatewayAddress
-
setPushGatewayAddress
-
getPushGatewayPushInterval
-
setPushGatewayPushInterval
-