public class DiskCachingUtil extends Object
Constructor and Description |
---|
DiskCachingUtil() |
Modifier and Type | Method and Description |
---|---|
static File |
computePreferredCacheDir(List<String> moduleNames,
TreeLogger logger)
Computes and returns a consistent preferred cache dir based on the given set of module names
and the current working directory.
|
public static File computePreferredCacheDir(List<String> moduleNames, TreeLogger logger)
Using a consistent cache dir has performance advantages since caches can be reused between JVM process launches.
Copyright © 2018. All rights reserved.