|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.resolve.Cache
public class Cache
This class provides a cache for XRI resolutions
Nested Class Summary | |
---|---|
class |
Cache.CachedValue
This class provides an externally visible representation of the result of searching the cache. |
Method Summary | |
---|---|
int |
getMaxSize()
Gets the maximum size of the cache |
int |
getNumNodes()
Returns the number of nodes in the cache |
void |
setMaxSize(int nVal)
Sets the maximum size of the cache |
void |
stuff(XRIAuthority oAuth,
XRDS oDescriptors)
Adds the descriptors associated with an authority to the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getNumNodes()
public void setMaxSize(int nVal)
public int getMaxSize()
public void stuff(XRIAuthority oAuth, XRDS oDescriptors)
oAuth
- - The Authority whose descriptors to storeoDescriptors
- - The descriptors of the subsegments in oAuth
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |