MCPcopy Create free account
hub / github.com/apache/tomcat / getHitCount

Method getHitCount

java/org/apache/catalina/webresources/Cache.java:376–378  ·  view source on GitHub ↗

Returns the total number of cache hits. @return the hit count

()

Source from the content-addressed store, hash-verified

374 * @return the hit count
375 */
376 public long getHitCount() {
377 return hitCount.sum();
378 }
379
380 /**
381 * Sets the maximum size of a single cached object in kilobytes.

Callers

nothing calls this directly

Calls 1

sumMethod · 0.80

Tested by

no test coverage detected