Tabnine Logo
ChainedDynamicProperty$IntProperty.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.netflix.config.ChainedDynamicProperty$IntProperty
constructor

Best Java code snippets using com.netflix.config.ChainedDynamicProperty$IntProperty.<init> (Showing top 5 results out of 315)

origin: Netflix/EVCache

public ChainedDynamicProperty.IntProperty getChainedIntProperty(String overrideKey, String primaryKey, int defaultValue, Runnable listener) {
  final String mapKey = overrideKey + primaryKey;
  ChainedDynamicProperty.IntProperty prop = (ChainedDynamicProperty.IntProperty) fastPropMap.get(mapKey);
  if (prop != null) return prop;
  final DynamicIntProperty baseProp = new DynamicIntProperty(primaryKey, defaultValue);
  prop = new ChainedDynamicProperty.IntProperty(overrideKey, baseProp);
  fastPropMap.put(mapKey, prop);
  if(listener != null) {
    baseProp.addCallback(listener);
    prop.addCallback(listener);
  }
  return prop;
}

origin: Netflix/EVCache

this._poolSize = config.getDynamicIntProperty(appName + ".EVCacheClientPool.poolSize", 1);
this._poolSize.addCallback(callback);
this._readTimeout = new ChainedDynamicProperty.IntProperty(appName + ".EVCacheClientPool.readTimeout", EVCacheClientPoolManager.getDefaultReadTimeout());
this._readTimeout.addCallback(callback);
this._bulkReadTimeout = new ChainedDynamicProperty.IntProperty(appName + ".EVCacheClientPool.bulkReadTimeout", _readTimeout);
this._bulkReadTimeout.addCallback(callback);
origin: com.netflix.archaius/archaius-legacy

public IntProperty(String name, DynamicIntProperty sProperty) {
  this(name, new IntProperty(sProperty));
}
origin: com.netflix.archaius/archaius-core

public IntProperty(String name, DynamicIntProperty sProperty) {
  this(name, new IntProperty(sProperty));
}
origin: com.netflix.ribbon/ribbon-loadbalancer

private void initDynamicProperty(IClientConfig clientConfig) {
  String id = "default";
  if (clientConfig != null) {
    id = clientConfig.getClientName();
    activeConnectionsLimit = new ChainedDynamicProperty.IntProperty(id + "." + clientConfig.getNameSpace() + ".ActiveConnectionsLimit", ACTIVE_CONNECTIONS_LIMIT); 
  }               
}

com.netflix.configChainedDynamicProperty$IntProperty<init>

Popular methods of ChainedDynamicProperty$IntProperty

  • checkAndFlip
  • get
  • getName
  • getValue
  • addCallback

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
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