From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../com/amazon/carbonado/util/SoftValuedCache.html | 478 +++++++++++++++++++++ 1 file changed, 478 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/util/SoftValuedCache.html (limited to 'apidocs/com/amazon/carbonado/util/SoftValuedCache.html') diff --git a/apidocs/com/amazon/carbonado/util/SoftValuedCache.html b/apidocs/com/amazon/carbonado/util/SoftValuedCache.html new file mode 100644 index 0000000..387df33 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/SoftValuedCache.html @@ -0,0 +1,478 @@ + + + + + + +SoftValuedCache (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class SoftValuedCache<K,V>

+
+
+ +
+
    +
  • +
    +
    Deprecated.  +
    use Cojen Cache interface
    +
    +
    +
    @Deprecated
    +public abstract class SoftValuedCache<K,V>
    +extends java.lang.Object
    +
    Simple thread-safe cache which evicts entries via a shared background + thread. Cache permits null keys, but not null values.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SoftValuedCache() +
      Deprecated. 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      abstract voidclear() +
      Deprecated. 
      abstract Vget(K key) +
      Deprecated. 
      abstract booleanisEmpty() +
      Deprecated. 
      static <K,V> SoftValuedCache<K,V>newCache(int capacity) +
      Deprecated. 
      abstract Vput(K key, + V value) +
      Deprecated. 
      abstract VputIfAbsent(K key, + V value) +
      Deprecated. 
      abstract Vremove(K key) +
      Deprecated. 
      abstract booleanremove(K key, + V value) +
      Deprecated. 
      abstract Vreplace(K key, + V value) +
      Deprecated. 
      abstract booleanreplace(K key, + V oldValue, + V newValue) +
      Deprecated. 
      abstract intsize() +
      Deprecated. 
      abstract java.lang.StringtoString() +
      Deprecated. 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SoftValuedCache

        +
        public SoftValuedCache()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        newCache

        +
        public static <K,V> SoftValuedCache<K,V> newCache(int capacity)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        size

        +
        public abstract int size()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public abstract boolean isEmpty()
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        get

        +
        public abstract V get(K key)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        put

        +
        public abstract V put(K key,
        +    V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        putIfAbsent

        +
        public abstract V putIfAbsent(K key,
        +            V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        remove

        +
        public abstract V remove(K key)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        remove

        +
        public abstract boolean remove(K key,
        +             V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        replace

        +
        public abstract boolean replace(K key,
        +              V oldValue,
        +              V newValue)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        replace

        +
        public abstract V replace(K key,
        +        V value)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public abstract void clear()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public abstract java.lang.String toString()
        +
        Deprecated. 
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3