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