public class GarbageCollectorFileState extends Object implements Closeable
| Constructor and Description |
|---|
GarbageCollectorFileState(String root)
Instantiates a new garbage collector file state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Completes the process by deleting the files.
|
File |
getAvailableRefs()
Gets the file storing the available references.
|
File |
getGarbage()
Gets the storing the garbage.
|
File |
getGcCandidates()
Gets the file storing the gc candidates.
|
File |
getMarkedRefs()
Gets the file storing the marked references.
|
public GarbageCollectorFileState(String root) throws IOException
root - path of the root directory under which the
files created during gc are storedIOExceptionpublic File getMarkedRefs()
public File getAvailableRefs()
public File getGcCandidates()
public File getGarbage()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException - Signals that an I/O exception has occurred.Copyright © 2010 - 2020 Adobe. All Rights Reserved