MCPcopy Create free account
hub / github.com/antlr/codebuff / preWriteCleanup

Method preWriteCleanup

output/java_guava/1.4.16/LocalCache.java:3501–3504  ·  view source on GitHub ↗

Performs routine cleanup prior to executing a write. This should be called every time a write thread acquires the segment lock, immediately after acquiring the lock. Post-condition: expireEntries has been run.

(long now)

Source from the content-addressed store, hash-verified

3499 */
3500
3501 @GuardedBy("this")
3502 void preWriteCleanup(long now) {
3503 runLockedCleanup(now);
3504 }
3505
3506 /**
3507 * Performs routine cleanup following a write.

Callers 8

lockedGetOrLoadMethod · 0.95
putMethod · 0.95
replaceMethod · 0.95
removeMethod · 0.95
storeLoadedValueMethod · 0.95
clearMethod · 0.95
getOrComputeMethod · 0.45

Calls 1

runLockedCleanupMethod · 0.95

Tested by

no test coverage detected