public abstract class CheckpointsHelper extends Object
Constructor and Description |
---|
CheckpointsHelper() |
Modifier and Type | Method and Description |
---|---|
static SortedMap<Revision,Long> |
getCheckpoints(DocumentNodeStore store) |
static Revision |
min(Set<String> revs) |
static int |
remove(DocumentNodeStore store,
Revision r) |
static long |
removeAll(DocumentNodeStore store) |
static long |
removeOlderThan(DocumentNodeStore store,
Revision r) |
static int |
setInfoProperty(DocumentNodeStore store,
String rev,
String key,
String value) |
public static SortedMap<Revision,Long> getCheckpoints(DocumentNodeStore store)
public static long removeAll(DocumentNodeStore store)
public static long removeOlderThan(DocumentNodeStore store, Revision r)
public static int remove(DocumentNodeStore store, Revision r)
public static int setInfoProperty(DocumentNodeStore store, String rev, String key, String value)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.