public class Cache extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Finishes the use of the cache by flushing any unsaved changes.
|
static Cache |
init(Path cacheDirectory)
Initializes a cache with a directory.
|
public static Cache init(Path cacheDirectory) throws NotDirectoryException, CacheMetadataCorruptedException
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018. All rights reserved.