MCPcopy Create free account
hub / github.com/coding-parrot/Low-Level-Design / Cache

Method Cache

distributed-cache/src/main/java/Cache.java:23–56  ·  view source on GitHub ↗
(final int maximumSize,
                    final Duration expiryTime,
                    final FetchAlgorithm fetchAlgorithm,
                    final EvictionAlgorithm evictionAlgorithm,
                    final DataSource<KEY, VALUE> dataSource,
                    final Set<KEY> keysToEagerlyLoad,
                    final Timer timer,
                    final int poolSize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

getThreadForMethod · 0.95
addToCacheMethod · 0.95
loadFromDBMethod · 0.95
getLastAccessTimeMethod · 0.80
getAccessCountMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected