|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.db.CacheManager
public class CacheManager
Provides static cache managers for the db package and publicly for the rest of Callgraph. All caches provided by this class are thread safe.
Constructor Summary | |
---|---|
CacheManager()
|
Method Summary | |
---|---|
static void |
clearAllCaches()
If a clear database is done, then all caches should be cleared. |
static void |
clearForNewBuild()
Clear the caches that should be cleared at the start of a new build. |
static int |
searchPathForExternalCUID(int callnameID)
Cached lookup of callnameID to external cuid. |
static void |
sigMatchAdd(long pair)
|
static boolean |
sigMatchLookup(long pair)
|
static void |
sigMismatchAdd(long pair)
|
static boolean |
sigMismatchLookup(long pair)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheManager()
Method Detail |
---|
public static void clearAllCaches()
public static void clearForNewBuild()
public static void sigMatchAdd(long pair)
public static boolean sigMatchLookup(long pair)
public static void sigMismatchAdd(long pair)
public static boolean sigMismatchLookup(long pair)
public static int searchPathForExternalCUID(int callnameID) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |