MCPcopy Create free account
hub / github.com/apache/fory / Cache

Interface Cache

java/fory-core/src/main/java/org/apache/fory/collection/Cache.java:26–34  ·  view source on GitHub ↗

Minimal cache API used by fory-core.

Source from the content-addressed store, hash-verified

24
25/** Minimal cache API used by fory-core. */
26public interface Cache<K, V> {
27 V getIfPresent(K key);
28
29 V get(K key, Callable<? extends V> loader) throws ExecutionException;
30
31 void put(K key, V value);
32
33 void cleanUp();
34}

Callers 24

getAllDefaultValuesMethod · 0.65
LambdaSerializerMethod · 0.65
buildSerializerMethod · 0.65
getAllDefaultValuesMethod · 0.65
setup.pyFile · 0.65
_read_big_meta_stringMethod · 0.65
get_context_objectMethod · 0.65
get_context_objectMethod · 0.65

Implementers 1

LocalCachejava/fory-core/src/main/java/org/apach

Calls

no outgoing calls

Tested by

no test coverage detected