MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / query

Method query

src/main/java/core/packetproxy/model/Configs.java:63–74  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

61 }
62
63 public Config query(String key) throws Exception {
64 List<Config> ret = cache.query("query", key);
65 if (ret != null) {
66
67 return ret.get(0);
68 }
69
70 Config config = dao.queryForId(key);
71
72 cache.set("query", key, config);
73 return config;
74 }
75
76 public List<Config> queryAll() throws Exception {
77 List<Config> ret = cache.query("queryAll", 0);

Callers 15

queryAllMethod · 0.45
ConfigBooleanMethod · 0.45
getStateMethod · 0.45
setStateMethod · 0.45
getServerMethod · 0.45
getServerNameMethod · 0.45
ConfigStringMethod · 0.45
getStringMethod · 0.45
setStringMethod · 0.45
getServerMethod · 0.45
queryAllOrderedMethod · 0.45
ConfigIntegerMethod · 0.45

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected