mirror of https://github.com/micromata/borgbackup-butler.git

Doc
Kai Reinhard
29.25.2018 f06c39ddf2954e72ddb64489772b662440e2193d
Doc
1 files modified
7 ■■■■■ changed files
borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ButlerCache.java 7 ●●●●● patch | view | raw | blame | history
borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ButlerCache.java
@@ -20,6 +20,13 @@
import java.util.ArrayList;
import java.util.List;
/**
 * Caches all borg objects such as repository information, archive and archive content. Therefore a fluent work
 * is possible. Without caching, working with BorgButler especially for remote backups would be a time consuming mess.
 * <br>
 * For most objects JCS is used. For file lists (up to million of files) an own implementation is used because JCS
 * isn't recommended for caching a very large number of objects or very large objects.
 */
public class ButlerCache {
    private Logger log = LoggerFactory.getLogger(ButlerCache.class);
    public static final String CACHE_DIR_NAME = "cache";