public class AwsToolUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsToolUtils.SegmentStoreType |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fetchByteArray(org.apache.jackrabbit.oak.commons.Buffer buffer) |
static org.apache.jackrabbit.oak.segment.file.FileStore |
newFileStore(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence persistence,
File directory,
boolean strictVersionCheck,
int segmentCacheSize,
long gcLogInterval) |
static org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence |
newSegmentNodeStorePersistence(AwsToolUtils.SegmentStoreType storeType,
String pathOrUri) |
static String |
printableStopwatch(Stopwatch s) |
static void |
printMessage(PrintWriter pw,
String format,
Object... arg) |
static String |
storeDescription(AwsToolUtils.SegmentStoreType storeType,
String pathOrUri) |
static AwsToolUtils.SegmentStoreType |
storeTypeFromPathOrUri(String pathOrUri) |
public static org.apache.jackrabbit.oak.segment.file.FileStore newFileStore(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence persistence, File directory, boolean strictVersionCheck, int segmentCacheSize, long gcLogInterval) throws IOException, org.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionException, URISyntaxException
public static org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence newSegmentNodeStorePersistence(AwsToolUtils.SegmentStoreType storeType, String pathOrUri) throws IOException
IOExceptionpublic static AwsToolUtils.SegmentStoreType storeTypeFromPathOrUri(String pathOrUri)
public static String storeDescription(AwsToolUtils.SegmentStoreType storeType, String pathOrUri)
public static void printMessage(PrintWriter pw, String format, Object... arg)
public static byte[] fetchByteArray(org.apache.jackrabbit.oak.commons.Buffer buffer) throws IOException
IOExceptionCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.