Package org.teavm.cache
Interface MethodNodeCache
-
- All Known Implementing Classes:
DiskMethodNodeCache,EmptyMethodNodeCache,InMemoryMethodNodeCache
public interface MethodNodeCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AstCacheEntryget(MethodReference methodReference, CacheStatus cacheStatus)AsyncMethodNodegetAsync(MethodReference methodReference, CacheStatus cacheStatus)voidstore(MethodReference methodReference, AstCacheEntry entry, Supplier<String[]> dependencies)voidstoreAsync(MethodReference methodReference, AsyncMethodNode node, Supplier<String[]> dependencies)
-
-
-
Method Detail
-
get
AstCacheEntry get(MethodReference methodReference, CacheStatus cacheStatus)
-
store
void store(MethodReference methodReference, AstCacheEntry entry, Supplier<String[]> dependencies)
-
getAsync
AsyncMethodNode getAsync(MethodReference methodReference, CacheStatus cacheStatus)
-
storeAsync
void storeAsync(MethodReference methodReference, AsyncMethodNode node, Supplier<String[]> dependencies)
-
-