public class ToolUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ToolUtils.SegmentStoreType |
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, org.apache.jackrabbit.oak.segment.compaction.SegmentGCOptions.CompactorType compactorType) throws IOException, org.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionException, URISyntaxException, com.microsoft.azure.storage.StorageException
IOExceptionorg.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionExceptionURISyntaxExceptioncom.microsoft.azure.storage.StorageExceptionpublic static org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence newSegmentNodeStorePersistence(ToolUtils.SegmentStoreType storeType, String pathOrUri)
public static org.apache.jackrabbit.oak.segment.spi.persistence.SegmentArchiveManager createArchiveManager(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence persistence)
public static com.microsoft.azure.storage.blob.CloudBlobDirectory createCloudBlobDirectory(String path)
public static ToolUtils.SegmentStoreType storeTypeFromPathOrUri(String pathOrUri)
public static String storeDescription(ToolUtils.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–2021 The Apache Software Foundation. All rights reserved.