Tabnine Logo
com.netflix.config
Code IndexAdd Tabnine to your IDE (free)

How to use com.netflix.config

Best Java code snippets using com.netflix.config (Showing top 20 results out of 882)

origin: Netflix/eureka

@Override
public String getHomePageUrl() {
  return configInstance.getStringProperty(namespace + HOME_PAGE_URL_KEY, null)
      .get();
}
origin: Netflix/eureka

@Override
public int getPeerNodeConnectTimeoutMs() {
  return configInstance.getIntProperty(
      namespace + "peerNodeConnectTimeoutMs", 1000).get();
}
origin: Netflix/eureka

@Override
public boolean shouldDisableDelta() {
  return configInstance.getBooleanProperty(namespace + "disableDelta",
      false).get();
}
origin: Netflix/eureka

@Override
public long getRetentionTimeInMSInDeltaQueue() {
  return configInstance.getLongProperty(
      namespace + "retentionTimeInMSInDeltaQueue", (3 * 60 * 1000))
      .get();
}
origin: Netflix/eureka

@Override
public double getRenewalPercentThreshold() {
  return configInstance.getDoubleProperty(
      namespace + "renewalPercentThreshold", 0.85).get();
}
origin: Netflix/eureka

@Override
public String getHealthCheckUrl() {
  return configInstance.getStringProperty(namespace + HEALTHCHECK_URL_KEY, null)
      .get();
}
origin: Netflix/eureka

@Override
public int getPeerNodeReadTimeoutMs() {
  return configInstance.getIntProperty(
      namespace + "peerNodeReadTimeoutMs", 5000).get();
}
origin: Netflix/eureka

@Override
public boolean shouldSyncWhenTimestampDiffers() {
  return configInstance.getBooleanProperty(
      namespace + "syncWhenTimestampDiffers", true).get();
}
origin: Netflix/eureka

@Override
public long getMaxIdleThreadInMinutesAgeForStatusReplication() {
  return configInstance
      .getLongProperty(
          namespace + "maxIdleThreadAgeInMinutesForStatusReplication",
          10).get();
}
origin: Netflix/eureka

@Override
public String getProxyUserName() {
  return configInstance.getStringProperty(
      namespace + EUREKA_SERVER_PROXY_USERNAME_KEY, null).get();
}
origin: Netflix/eureka

@Override
public int getMaxThreadsForStatusReplication() {
  return configInstance.getIntProperty(
      namespace + "maxThreadsForStatusReplication", 1).get();
}
origin: Netflix/eureka

@Override
public boolean shouldDisableDeltaForRemoteRegions() {
  return configInstance.getBooleanProperty(
      namespace + "disableDeltaForRemoteRegions", false).get();
}
origin: Netflix/eureka

@Override
public String getEurekaServerURLContext() {
  return configInstance.getStringProperty(
      namespace + EUREKA_SERVER_URL_CONTEXT_KEY,
      configInstance.getStringProperty(namespace + EUREKA_SERVER_FALLBACK_URL_CONTEXT_KEY, null)
          .get()).get();
}
origin: Netflix/eureka

@Override
public int getMaxElementsInPeerReplicationPool() {
  return configInstance.getIntProperty(
      namespace + "maxElementsInPeerReplicationPool", 10000).get();
}
origin: Netflix/eureka

@Override
public String getEurekaServerDNSName() {
  return configInstance.getStringProperty(
      namespace + EUREKA_SERVER_DNS_NAME_KEY,
      configInstance
          .getStringProperty(namespace + EUREKA_SERVER_FALLBACK_DNS_NAME_KEY, null)
          .get()).get();
}
origin: Netflix/eureka

@Override
public int getRemoteRegionTotalConnectionsPerHost() {
  return configInstance.getIntProperty(
      namespace + "remoteRegionTotalConnectionsPerHost", 500).get();
}
origin: Netflix/eureka

@Override
public int getHealthStatusMinNumberOfAvailablePeers() {
  return configInstance.getIntProperty(
      namespace + "minAvailableInstancesForPeerReplication", -1).get();
}
origin: Netflix/eureka

  @Override
  public int getInitialCapacityOfResponseCache() {
    return configInstance.getIntProperty(namespace + "initialCapacityOfResponseCache", 1000).get();
  }
}
origin: Netflix/eureka

@Override
public int getInitialInstanceInfoReplicationIntervalSeconds() {
  return configInstance.getIntProperty(
      namespace + INITIAL_REGISTRATION_REPLICATION_DELAY_KEY, 40).get();
}
origin: Netflix/eureka

@Override
public int getCacheRefreshExecutorExponentialBackOffBound() {
  return configInstance.getIntProperty(
      namespace + CACHEREFRESH_BACKOFF_BOUND_KEY, Values.DEFAULT_EXECUTOR_THREAD_POOL_BACKOFF_BOUND).get();
}
com.netflix.config

Most used classes

  • DynamicStringProperty
    A dynamic property whose value is a string.Use APIs in DynamicPropertyFactory to create instance of
  • ConfigurationManager
    The configuration manager is a central place where it manages the system wide Configuration and depl
  • DynamicPropertyFactory
    A factory that creates instances of dynamic properties and associates them with an underlying config
  • DynamicIntProperty
    A dynamic property whose value is an integerUse APIs in DynamicPropertyFactory to create instance of
  • DynamicBooleanProperty
    A dynamic property that contains boolean value.Use APIs in DynamicPropertyFactory to create instance
  • DeploymentContext,
  • ConcurrentCompositeConfiguration,
  • DynamicStringListProperty,
  • DynamicDoubleProperty,
  • DynamicProperty,
  • PollResult,
  • WatchedUpdateResult,
  • ConcurrentMapConfiguration,
  • DynamicConfiguration,
  • WatchedUpdateListener,
  • CachedDynamicIntProperty,
  • FixedDelayPollingScheduler,
  • DeploymentContext$ContextKey,
  • DynamicStringSetProperty
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now