MCPcopy Create free account
hub / github.com/banq/jdonframework / getKey

Method getKey

src/main/java/com/jdon/controller/cache/CacheKey.java:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48 // cacheType + dataTypeName + dataKey
49 public String getKey() {
50 StringBuilder buffer = new StringBuilder(cacheType);
51 buffer.append(dataTypeName);
52 if (dataKey != null)
53 buffer.append(dataKey.toString());
54 return buffer.toString().intern();
55 }
56
57 public String toString() {
58 return getKey();

Callers 1

toStringMethod · 0.95

Calls 2

appendMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected