public class JournalGarbageCollector
extends java.lang.Object
It would typically be invoked in conjunction with the VersionGarbageCollector but must not be confused with that one - 'journal' refers to the separate collection that contains changed paths per background writes used for observation.
Constructor and Description |
---|
JournalGarbageCollector(DocumentNodeStore nodeStore,
long maxRevisionAgeMillis) |
Modifier and Type | Method and Description |
---|---|
int |
gc()
Deletes entries in the journal that are older than
getMaxRevisionAgeMillis() . |
Revision |
getTailRevision() |
public JournalGarbageCollector(DocumentNodeStore nodeStore, long maxRevisionAgeMillis)
public int gc()
getMaxRevisionAgeMillis()
.public Revision getTailRevision()
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.