DefaultConsoleConfig extends AbstractCoreConfig implements ConsoleConfig { @Override public boolean isConsoleSiteUnstable() { return !getBooleanProperty(KEY_CONSOLE_SITE_STABLE, true); }  @Override int getAlertSystemRecoverMinute(); @Override int getAlertSystemSuspendMinute(); @Override String getDBAEmails(); @Override String getRedisAlertSenderEmail(); @Override String getXpipeRuntimeEnvironment(); @Override String getXPipeAdminEmails(); @Override String getReplDisklessMinRedisVersion(); @Override String getXRedisMinimumRequestVersion(); @Override String getDatasource(); @Override int getConsoleNotifyRetryTimes(); @Override int getConsoleNotifyRetryInterval(); @Override String getMetaservers(); @Override int getConsoleNotifyThreads(); @Override Set<String> getConsoleUserAccessWhiteList(); @Override int getRedisReplicationHealthCheckInterval(); @Override HickwallMetricInfo getHickwallMetricInfo(); @Override int getHealthyDelayMilli(); @Override int getHealthyDelayMilliThroughProxy(); @Override int getDownAfterCheckNums(); @Override int getDownAfterCheckNumsThroughProxy(); @Override int getCacheRefreshInterval(); @Override Set<String> getAlertWhileList(); @Override String getAllConsoles(); @Override int getQuorum(); @Override int getRedisConfCheckIntervalMilli(); @Override int getSentinelCheckIntervalMilli(); @Override String getConsoleDomain(); @Override QuorumConfig getDefaultSentinelQuorumConfig(); @Override int getConfigDefaultRestoreHours(); @Override int getRebalanceSentinelInterval(); @Override int getRebalanceSentinelMaxNumOnce(); @Override int getNoAlarmMinutesForClusterUpdate(); @Override Set<String> getIgnoredHealthCheckDc(); @Override Set<DcClusterDelayMarkDown> getDelayedMarkDownDcClusters(); @Override int getPingDownAfterMilli(); @Override int getPingDownAfterMilliThroughProxy(); @Override void onChange(String key, String oldValue, String newValue); @Override void register(ConsoleConfigListener consoleConfigListener); @Override Map<String, String> getSocketStatsAnalyzingKeys(); @Override Pair<String, String> getClusterShardForMigrationSysCheck(); @Override int getProxyInfoCollectInterval(); @Override int getOutterClientCheckInterval(); @Override Map<String, String> getConsoleDomains(); @Override boolean isSentinelRateLimitOpen(); @Override int getSentinelRateLimitSize(); @Override Set<String> getVariablesCheckDataSources(); @Override Set<String> getOwnClusterType(); @Override String getCrossDcLeaderLeaseName(); @Override boolean isSensitiveForRedundantRedis(); @Override String getParallelConsoleDomain(); @Override boolean isConsoleSiteUnstable(); static final String KEY_DATASOURCE; static final String KEY_CONSOLE_NOTIFY_RETRY_TIMES; static final String KEY_CONSOLE_NOTIFY_THREADS; static final String KEY_CONSOLE_NOTIFY_RETRY_INTERVAL; static final String KEY_METASERVERS; static final String KEY_USER_ACCESS_WHITE_LIST; static final String KEY_REDIS_REPLICATION_HEALTH_CHECK_INTERVAL; static final String KEY_REDIS_CONF_CHECK_INTERVAL; static final String KEY_HICKWALL_METRIC_INFO; static final String KEY_HEALTHY_DELAY; static final String KEY_DOWN_AFTER_CHECK_NUMS; static final String KEY_CACHE_REFERSH_INTERVAL; static final String KEY_ALERT_WHITE_LIST; static final String KEY_ALL_CONSOLES; static final String KEY_QUORUM; static final String KEY_DOMAIN; static final String KEY_SENTINEL_QUORUM; static final String KEY_IGNORED_DC_FOR_HEALTH_CHECK; static final String KEY_DC_CLUSTER_WONT_MARK_DOWN; static final String KEY_SOCKET_STATS_ANALYZERS; static final String KEY_CLUSTER_SHARD_FOR_MIGRATE_SYS_CHECK; }
@Test public void testIsConsoleSiteUnstableDefault() { Assert.assertFalse(consoleConfig.isConsoleSiteUnstable()); }