Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IoSupplier (0.09 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

        }
    
        @Override
        public void withFileLock(Runnable action) {
            crossProcessCacheAccess.withFileLock(toSupplier(action));
        }
    
        @Override
        public void useCache(Runnable action) {
            useCache(toSupplier(action));
        }
    
        private static <T> Supplier<T> toSupplier(Runnable action) {
            return () -> {
                action.run();
                return null;
            };
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top