CacheLock class final
A best-effort cross-process file lock for cache population.
Uses an exclusive file lock on a per-cache-key lock file so multiple hook executions do not download/extract the same artifact concurrently.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withLock<
T> (Future< T> action()) → Future<T> -
Executes
actionwhile holding the exclusive lock.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited