Tabnine Logo
ProxyFactory$ProxyDetails.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javassist.util.proxy.ProxyFactory$ProxyDetails
constructor

Best Java code snippets using javassist.util.proxy.ProxyFactory$ProxyDetails.<init> (Showing top 6 results out of 315)

origin: redisson/redisson

private void createClass2(ClassLoader cl) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    HashMap cacheForTheLoader = (HashMap)proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = (ProxyDetails)cacheForTheLoader.get(key);
    if (details != null) {
      WeakReference reference = details.proxyClass;
      thisClass = (Class)reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
origin: org.javassist/javassist

private void createClass2(ClassLoader cl, Lookup lookup) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    Map<String,ProxyDetails> cacheForTheLoader = proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap<String,ProxyDetails>();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = cacheForTheLoader.get(key);
    if (details != null) {
      Reference<Class<?>> reference = details.proxyClass;
      thisClass = reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl, lookup);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
origin: com.eclipsesource.jaxrs/jersey-all

private void createClass2(ClassLoader cl) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    HashMap cacheForTheLoader = (HashMap)proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = (ProxyDetails)cacheForTheLoader.get(key);
    if (details != null) {
      WeakReference reference = details.proxyClass;
      thisClass = (Class)reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
origin: hstaudacher/osgi-jax-rs-connector

private void createClass2(ClassLoader cl) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    HashMap cacheForTheLoader = (HashMap)proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = (ProxyDetails)cacheForTheLoader.get(key);
    if (details != null) {
      WeakReference reference = details.proxyClass;
      thisClass = (Class)reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
origin: hstaudacher/osgi-jax-rs-connector

private void createClass2(ClassLoader cl) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    HashMap cacheForTheLoader = (HashMap)proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = (ProxyDetails)cacheForTheLoader.get(key);
    if (details != null) {
      WeakReference reference = details.proxyClass;
      thisClass = (Class)reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
origin: org.jboss.javassist/com.springsource.javassist

private void createClass2(ClassLoader cl) {
  String key = getKey(superClass, interfaces, signature, factoryWriteReplace);
  /*
   * Excessive concurrency causes a large memory footprint and slows the
   * execution speed down (with JDK 1.5).  Thus, we use a jumbo lock for
   * reducing concrrency.
   */
  // synchronized (proxyCache) {
    HashMap cacheForTheLoader = (HashMap)proxyCache.get(cl);
    ProxyDetails details;
    if (cacheForTheLoader == null) {
      cacheForTheLoader = new HashMap();
      proxyCache.put(cl, cacheForTheLoader);
    }
    details = (ProxyDetails)cacheForTheLoader.get(key);
    if (details != null) {
      WeakReference reference = details.proxyClass;
      thisClass = (Class)reference.get();
      if (thisClass != null) {
        return;
      }
    }
    createClass3(cl);
    details = new  ProxyDetails(signature, thisClass, factoryWriteReplace);
    cacheForTheLoader.put(key, details);
  // }
}
javassist.util.proxyProxyFactory$ProxyDetails<init>

Popular methods of ProxyFactory$ProxyDetails

    Popular in Java

    • Reactive rest calls using spring rest template
    • startActivity (Activity)
    • findViewById (Activity)
    • onRequestPermissionsResult (Fragment)
    • BufferedReader (java.io)
      Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
    • KeyStore (java.security)
      KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
    • MessageFormat (java.text)
      Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
    • NumberFormat (java.text)
      The abstract base class for all number formats. This class provides the interface for formatting and
    • Queue (java.util)
      A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
    • Servlet (javax.servlet)
      Defines methods that all servlets must implement. A servlet is a small Java program that runs within
    • Top PhpStorm plugins
    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