public class CloudProps
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
LOG_DEFAULT_LOGGER |
static java.lang.String |
PREFIX_config |
static java.lang.String |
PREFIX_discovery |
static java.lang.String |
PREFIX_event |
static java.lang.String |
PREFIX_file |
static java.lang.String |
PREFIX_i18n |
static java.lang.String |
PREFIX_id |
static java.lang.String |
PREFIX_job |
static java.lang.String |
PREFIX_list |
static java.lang.String |
PREFIX_lock |
static java.lang.String |
PREFIX_log |
static java.lang.String |
PREFIX_metric |
static java.lang.String |
PREFIX_properties |
static java.lang.String |
PREFIX_trace |
构造器和说明 |
---|
CloudProps(AppContext appContext,
java.lang.String frame) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAccessKey() |
java.lang.String |
getAlarm() |
boolean |
getConfigEnable() |
java.lang.String |
getConfigLoad() |
java.lang.String |
getConfigRefreshInterval(java.lang.String def) |
java.lang.String |
getConfigServer() |
java.lang.String |
getDiscoveryClusterName() |
boolean |
getDiscoveryEnable() |
java.lang.String |
getDiscoveryHealthCheckInterval(java.lang.String def) |
java.lang.String |
getDiscoveryRefreshInterval(java.lang.String def) |
java.lang.String |
getDiscoveryServer() |
java.lang.String |
getDiscoveryTags()
已过时。
|
java.lang.String |
getEventAccessKey() |
java.lang.String |
getEventBroker() |
java.lang.String |
getEventChannel() |
java.util.Properties |
getEventClientProps() |
java.util.Properties |
getEventConsumerProps() |
boolean |
getEventEnable() |
java.lang.String |
getEventGroup() |
java.lang.String |
getEventPassword() |
int |
getEventPrefetchCount() |
java.util.Properties |
getEventProducerProps() |
long |
getEventPublishTimeout() |
long |
getEventPublishTimeout(long def) |
java.lang.String |
getEventSecretKey() |
java.lang.String |
getEventServer() |
java.lang.String |
getEventUsername() |
java.lang.String |
getFileAccessKey() |
java.lang.String |
getFileBucket() |
boolean |
getFileEnable() |
java.lang.String |
getFileEndpoint() |
java.lang.String |
getFilePassword() |
java.lang.String |
getFileRegionId() |
java.lang.String |
getFileSecretKey() |
java.lang.String |
getFileUsername() |
java.lang.String |
getI18nDefault() |
boolean |
getI18nEnable() |
boolean |
getIdEnable() |
long |
getIdStart() |
boolean |
getJobEnable() |
java.lang.String |
getJobServer() |
boolean |
getListEnable() |
boolean |
getLockEnable() |
java.lang.String |
getLockServer() |
java.lang.String |
getLogDefault() |
boolean |
getLogEnable() |
java.lang.String |
getLogServer() |
boolean |
getMetricEnable() |
java.lang.String |
getNamespace() |
java.lang.String |
getPassword() |
Props |
getProp()
获取所有属性
|
Props |
getProp(java.lang.String keyStarts)
获取所有某一块属性
|
java.lang.String |
getSecretKey() |
java.lang.String |
getServer() |
java.lang.String |
getToken() |
boolean |
getTraceEnable() |
java.lang.String |
getTraceExclude() |
java.lang.String |
getUsername() |
java.lang.String |
getValue(java.lang.String name)
获取值
|
java.lang.String |
getValue(java.lang.String name,
java.lang.String def) |
void |
setValue(java.lang.String name,
java.lang.String value)
设置值
|
public static final java.lang.String PREFIX_properties
public static final java.lang.String PREFIX_config
public static final java.lang.String PREFIX_discovery
public static final java.lang.String PREFIX_event
public static final java.lang.String PREFIX_lock
public static final java.lang.String PREFIX_log
public static final java.lang.String PREFIX_trace
public static final java.lang.String PREFIX_metric
public static final java.lang.String PREFIX_file
public static final java.lang.String PREFIX_i18n
public static final java.lang.String PREFIX_id
public static final java.lang.String PREFIX_list
public static final java.lang.String PREFIX_job
public static java.lang.String LOG_DEFAULT_LOGGER
public CloudProps(AppContext appContext, java.lang.String frame)
public java.lang.String getServer()
public java.lang.String getToken()
public java.lang.String getAlarm()
public java.lang.String getNamespace()
public java.lang.String getUsername()
public java.lang.String getPassword()
public java.lang.String getAccessKey()
public java.lang.String getSecretKey()
public boolean getConfigEnable()
public java.lang.String getConfigServer()
public java.lang.String getConfigLoad()
public java.lang.String getConfigRefreshInterval(java.lang.String def)
public boolean getDiscoveryEnable()
public java.lang.String getDiscoveryServer()
@Deprecated public java.lang.String getDiscoveryTags()
public java.lang.String getDiscoveryClusterName()
public java.lang.String getDiscoveryHealthCheckInterval(java.lang.String def)
public java.lang.String getDiscoveryRefreshInterval(java.lang.String def)
public boolean getEventEnable()
public java.lang.String getEventServer()
public int getEventPrefetchCount()
public long getEventPublishTimeout()
public long getEventPublishTimeout(long def)
public java.lang.String getEventChannel()
public java.lang.String getEventBroker()
public java.lang.String getEventGroup()
public java.util.Properties getEventConsumerProps()
public java.util.Properties getEventProducerProps()
public java.util.Properties getEventClientProps()
public java.lang.String getEventUsername()
public java.lang.String getEventPassword()
public java.lang.String getEventAccessKey()
public java.lang.String getEventSecretKey()
public boolean getLockEnable()
public java.lang.String getLockServer()
public boolean getLogEnable()
public java.lang.String getLogServer()
public java.lang.String getLogDefault()
public boolean getTraceEnable()
public java.lang.String getTraceExclude()
public boolean getMetricEnable()
public boolean getFileEnable()
public java.lang.String getFileEndpoint()
public java.lang.String getFileRegionId()
public java.lang.String getFileBucket()
public java.lang.String getFileUsername()
public java.lang.String getFilePassword()
public java.lang.String getFileAccessKey()
public java.lang.String getFileSecretKey()
public boolean getI18nEnable()
public java.lang.String getI18nDefault()
public boolean getIdEnable()
public long getIdStart()
public boolean getListEnable()
public boolean getJobEnable()
public java.lang.String getJobServer()
public java.lang.String getValue(java.lang.String name)
public java.lang.String getValue(java.lang.String name, java.lang.String def)
public void setValue(java.lang.String name, java.lang.String value)
public Props getProp()
public Props getProp(java.lang.String keyStarts)