|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheBacking
Interface for the backing to the cache; usually a file, but could be an in-memory backing for testing.
aspectj and jvmti provide no suitable guarantees on locking for class redefinitions, so every implementation must have a some locking mechanism to prevent invalid reads.
Method Summary | |
---|---|
void |
clear()
Clear the entire cache |
CachedClassEntry |
get(CachedClassReference ref)
Get a cache entry |
java.lang.String[] |
getKeys(java.lang.String regex)
Return a list of keys which match the given regex. |
void |
put(CachedClassEntry entry)
Put an entry in the cache |
void |
remove(CachedClassReference ref)
Remove an entry from the cache |
Method Detail |
---|
java.lang.String[] getKeys(java.lang.String regex)
regex
-
void remove(CachedClassReference ref)
ref
- void clear()
CachedClassEntry get(CachedClassReference ref)
ref
- entry to retrieve
void put(CachedClassEntry entry)
entry
- key of the entry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |