|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.search.core.registry.objects.AssociationCache
public class AssociationCache
Maintains a cache of associated SearchCoreExtrinsic objects for easy access during reference queries. This improves performance by minimizing queries to the Registry Client
Constructor Summary | |
---|---|
AssociationCache()
|
Method Summary | |
---|---|
static void |
flush()
Clear out the cache |
static SearchCoreExtrinsic |
get(String lidvid)
Get the object by lidvid |
static void |
main(String[] args)
Main method used for testing |
static void |
push(SearchCoreExtrinsic searchExt)
Checks if extrinsic is already in cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociationCache()
Method Detail |
---|
public static void push(SearchCoreExtrinsic searchExt)
searchExt
- public static SearchCoreExtrinsic get(String lidvid)
lidvid
-
public static void flush()
public static void main(String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |