|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.database.cache.RowCache
Row cache with size limit and multiple key support. Cacheables put in the cache
Method Summary | |
static void |
clearAllCaches()
Clear out all rowcaches, i.e., remove all cached objects. |
void |
expire(Cacheable c)
Expire the given Cacheable, i.e., remove it from the cache. |
Cacheable |
get(java.lang.Object key)
Return a slave Cacheable with the given key in this RowCache instance. |
static RowCache |
getInstance(java.lang.String name,
int maxsize)
Get the named RowCache instance. |
Cacheable |
getQuick(java.lang.Object key)
Return a slave Cacheable with the given key in this RowCache instance. |
void |
put(Cacheable c)
Put the specified Cacheable row in the cache. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static RowCache getInstance(java.lang.String name, int maxsize)
public java.lang.String toString()
public Cacheable getQuick(java.lang.Object key) throws GeneralDatabaseException
GeneralDatabaseException
public Cacheable get(java.lang.Object key) throws GeneralDatabaseException
GeneralDatabaseException
public void put(Cacheable c)
public void expire(Cacheable c)
public static void clearAllCaches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |