MCPcopy Create free account
hub / github.com/TrsstProject/trsst / get

Method get

src/main/java/com/trsst/server/CachingStorage.java:71–76  ·  view source on GitHub ↗
(String token)

Source from the content-addressed store, hash-verified

69 private static Object NOT_FOUND = "NOT_FOUND";
70
71 private Object get(String token) {
72 if (cache.containsKey(token)) {
73 return cache.get(token);
74 }
75 return NOT_FOUND;
76 }
77
78 private void put(String token, Object value) {
79 cache.put(token, value);

Callers 15

getFeedIdsMethod · 0.95
getCategoriesMethod · 0.95
getEntryIdsMethod · 0.95
getEntryIdsForFeedIdMethod · 0.95
readFeedMethod · 0.95
readEntryMethod · 0.95
testAppMethod · 0.80
controller.jsFile · 0.80
model.jsFile · 0.80
jquery-1.10.1.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

testAppMethod · 0.64