public class Cache
extends java.lang.Object
Constructor and Description |
---|
Cache() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Node n)
Poll whether the cache contains an object.
|
boolean |
contains(java.lang.String qn)
Poll whether the cache contains the named object.
|
Node |
get(java.lang.String qn)
Get the cached copy of an object.
|
boolean |
put(Node n)
Add an object to the cache.
|
boolean |
put(java.lang.String qn,
Node n)
Add a object to the cache with a specific qualified name.
|
boolean |
put(java.lang.String qn,
Node n,
boolean force) |
public boolean contains(Node n)
public boolean contains(java.lang.String qn)
public boolean put(Node n)
public boolean put(java.lang.String qn, Node n)
public boolean put(java.lang.String qn, Node n, boolean force)
public Node get(java.lang.String qn)