public class PageReclaimer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
private RecordManager |
rm
the record manager
|
private boolean |
running
a flag to detect the running state
|
| Constructor and Description |
|---|
PageReclaimer(RecordManager rm)
Creates a new instance of PageReclaimer.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<RevisionOffset> |
getRevisions(java.lang.String name)
gets a list of all the copied pages of a given B-Tree.
|
(package private) void |
reclaim()
relcaims the copied pages
|
private RecordManager rm
protected static final org.slf4j.Logger LOG
private boolean running
public PageReclaimer(RecordManager rm)
rm - the record managervoid reclaim()
private java.util.List<RevisionOffset> getRevisions(java.lang.String name) throws java.lang.Exception
name - the name of the B-Treejava.lang.Exception