public class IndirectAttachmentCache extends Cache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
DEFAULT_MAX_SIZE
Constructor and Description |
---|
IndirectAttachmentCache()
Constructor.
|
IndirectAttachmentCache(int anMaxSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the cache.
|
java.lang.Object |
get(java.lang.Object aKey)
Returns the value which the key is mapped to.
|
getDefaultMaxSize, getMaxSize, remove, setMaxSize, setSize, toString
public static final java.lang.String COPYRIGHT
public IndirectAttachmentCache()
public IndirectAttachmentCache(int anMaxSize)
anMaxSize
- The maximum cache size.public java.lang.Object get(java.lang.Object aKey) throws ECException
get
in class Cache
aKey
- the key.ECException