Tabnine Logo
LocalCache$WeakValueReference
Code IndexAdd Tabnine to your IDE (free)

How to use
LocalCache$WeakValueReference
in
com.google.common.cache

Best Java code snippets using com.google.common.cache.LocalCache$WeakValueReference (Showing top 20 results out of 315)

origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, value, entry);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

 @Override
 public V waitForValue() {
  return get();
 }
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

 @Override
 public V waitForValue() {
  return get();
 }
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

 @Override
 public V waitForValue() {
  return get();
 }
}
origin: com.diffplug.guava/guava-cache

  @Override
  public V waitForValue() {
    return get();
  }
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, value, entry);
}
origin: org.hudsonci.lib.guava/guava

@Override
<K, V> ValueReference<K, V> referenceValue(
  Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
 return (weight == 1)
   ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
   : new WeightedWeakValueReference<K, V>(
     segment.valueReferenceQueue, value, entry, weight);
}
origin: com.google.guava/guava-jdk5

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, value, entry);
}
origin: Nextdoor/bender

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, value, entry);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<>(queue, value, entry);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
<K, V> ValueReference<K, V> referenceValue(
  Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
 return (weight == 1)
   ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
   : new WeightedWeakValueReference<K, V>(
     segment.valueReferenceQueue, value, entry, weight);
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, value, entry);
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

@Override
<K, V> ValueReference<K, V> referenceValue(
  Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
 return (weight == 1)
   ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
   : new WeightedWeakValueReference<K, V>(
     segment.valueReferenceQueue, value, entry, weight);
}
origin: at.bestsolution.efxclipse.eclipse/com.google.guava

@Override
<K, V> ValueReference<K, V> referenceValue(
  Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
 return (weight == 1)
   ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
   : new WeightedWeakValueReference<K, V>(
     segment.valueReferenceQueue, value, entry, weight);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
<K, V> ValueReference<K, V> referenceValue(
  Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
 return (weight == 1)
   ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
   : new WeightedWeakValueReference<K, V>(
     segment.valueReferenceQueue, value, entry, weight);
}
origin: org.sonatype.sisu/sisu-guava

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<K, V>(queue, get(), entry);
}
origin: com.diffplug.guava/guava-cache

@Override
<K, V> ValueReference<K, V> referenceValue(
    Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
  return (weight == 1)
      ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry)
      : new WeightedWeakValueReference<K, V>(
          segment.valueReferenceQueue, value, entry, weight);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

 @Override
 public V waitForValue() {
  return get();
 }
}
origin: org.jboss.eap/wildfly-client-all

@Override
public ValueReference<K, V> copyFor(
  ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) {
 return new WeakValueReference<>(queue, value, entry);
}
origin: org.jboss.eap/wildfly-client-all

 @Override
 public V waitForValue() {
  return get();
 }
}
com.google.common.cacheLocalCache$WeakValueReference

Javadoc

References a weak value.

Most used methods

  • <init>
  • get

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • 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