Cache
interface@Deprecated
public abstract class SoftValuedCache<K,V>
extends java.lang.Object
Constructor and Description |
---|
SoftValuedCache()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
clear()
Deprecated.
|
abstract V |
get(K key)
Deprecated.
|
abstract boolean |
isEmpty()
Deprecated.
|
static <K,V> SoftValuedCache<K,V> |
newCache(int capacity)
Deprecated.
|
abstract V |
put(K key,
V value)
Deprecated.
|
abstract V |
putIfAbsent(K key,
V value)
Deprecated.
|
abstract V |
remove(K key)
Deprecated.
|
abstract boolean |
remove(K key,
V value)
Deprecated.
|
abstract V |
replace(K key,
V value)
Deprecated.
|
abstract boolean |
replace(K key,
V oldValue,
V newValue)
Deprecated.
|
abstract int |
size()
Deprecated.
|
abstract java.lang.String |
toString()
Deprecated.
|
public static <K,V> SoftValuedCache<K,V> newCache(int capacity)
public abstract int size()
public abstract boolean isEmpty()
public abstract void clear()
public abstract java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.