public abstract class OakFixture extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OakFixture.MongoFixture |
static class |
OakFixture.SegmentFixture |
Modifier and Type | Field and Description |
---|---|
static String |
OAK_MEMORY |
static String |
OAK_MEMORY_NS |
static String |
OAK_MONGO |
static String |
OAK_MONGO_DS |
static String |
OAK_MONGO_NS |
static String |
OAK_RDB |
static String |
OAK_RDB_DS |
static String |
OAK_SEGMENT_TAR |
static String |
OAK_SEGMENT_TAR_DS |
static String |
OAK_TAR |
static String |
OAK_TAR_DS |
protected String |
unique |
Modifier | Constructor and Description |
---|---|
protected |
OakFixture(String name) |
Modifier and Type | Method and Description |
---|---|
static OakFixture |
getMemory(long cacheSize) |
static OakFixture |
getMemory(String name,
long cacheSize) |
static OakFixture |
getMemoryNS(long cacheSize) |
static OakFixture |
getMongo(String uri,
boolean dropDBAfterTest,
long cacheSize) |
static OakFixture |
getMongo(String host,
int port,
String database,
boolean dropDBAfterTest,
long cacheSize) |
static OakFixture |
getMongo(String name,
String uri,
boolean dropDBAfterTest,
long cacheSize,
boolean useDataStore,
File base,
int dsCacheInMB) |
static OakFixture |
getMongo(String name,
String host,
int port,
String database,
boolean dropDBAfterTest,
long cacheSize,
boolean useFileDataStore,
File base,
int fdsCacheInMB) |
static OakFixture |
getMongoNS(String uri,
boolean dropDBAfterTest,
long cacheSize) |
static OakFixture |
getMongoNS(String host,
int port,
String database,
boolean dropDBAfterTest,
long cacheSize) |
abstract org.apache.jackrabbit.oak.Oak |
getOak(int clusterId) |
static OakFixture |
getRDB(String name,
String jdbcuri,
String jdbcuser,
String jdbcpasswd,
String tablePrefix,
boolean dropDBAfterTest,
long cacheSize) |
static OakFixture |
getRDB(String name,
String jdbcuri,
String jdbcuser,
String jdbcpasswd,
String tablePrefix,
boolean dropDBAfterTest,
long cacheSize,
boolean useDataStore,
File base,
int dsCacheInMB) |
static OakFixture |
getSegmentTar(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
boolean useBlobStore) |
static OakFixture |
getSegmentTar(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
boolean useBlobStore,
int dsCacheInMB) |
static OakFixture |
getTar(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
boolean useBlobStore) |
static OakFixture |
getTar(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
boolean useBlobStore,
int dsCacheInMB) |
static String |
getUniqueDatabaseName(String name) |
abstract org.apache.jackrabbit.oak.Oak[] |
setUpCluster(int n,
org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) |
abstract void |
tearDownCluster() |
String |
toString() |
public static final String OAK_MEMORY
public static final String OAK_MEMORY_NS
public static final String OAK_MONGO
public static final String OAK_MONGO_DS
public static final String OAK_MONGO_NS
public static final String OAK_RDB
public static final String OAK_RDB_DS
public static final String OAK_TAR
public static final String OAK_TAR_DS
public static final String OAK_SEGMENT_TAR
public static final String OAK_SEGMENT_TAR_DS
protected final String unique
protected OakFixture(String name)
public abstract org.apache.jackrabbit.oak.Oak getOak(int clusterId) throws Exception
Exception
public abstract org.apache.jackrabbit.oak.Oak[] setUpCluster(int n, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) throws Exception
Exception
public abstract void tearDownCluster()
public static OakFixture getMemory(long cacheSize)
public static OakFixture getMemoryNS(long cacheSize)
public static OakFixture getMemory(String name, long cacheSize)
public static OakFixture getMongo(String uri, boolean dropDBAfterTest, long cacheSize)
public static OakFixture getMongo(String host, int port, String database, boolean dropDBAfterTest, long cacheSize)
public static OakFixture getMongoNS(String uri, boolean dropDBAfterTest, long cacheSize)
public static OakFixture getMongoNS(String host, int port, String database, boolean dropDBAfterTest, long cacheSize)
public static OakFixture getMongo(String name, String host, int port, String database, boolean dropDBAfterTest, long cacheSize, boolean useFileDataStore, File base, int fdsCacheInMB)
public static OakFixture getMongo(String name, String uri, boolean dropDBAfterTest, long cacheSize, boolean useDataStore, File base, int dsCacheInMB)
public static OakFixture getRDB(String name, String jdbcuri, String jdbcuser, String jdbcpasswd, String tablePrefix, boolean dropDBAfterTest, long cacheSize)
public static OakFixture getRDB(String name, String jdbcuri, String jdbcuser, String jdbcpasswd, String tablePrefix, boolean dropDBAfterTest, long cacheSize, boolean useDataStore, File base, int dsCacheInMB)
public static OakFixture getTar(String name, File base, int maxFileSizeMB, int cacheSizeMB, boolean memoryMapping, boolean useBlobStore)
public static OakFixture getSegmentTar(String name, File base, int maxFileSizeMB, int cacheSizeMB, boolean memoryMapping, boolean useBlobStore)
public static OakFixture getTar(String name, File base, int maxFileSizeMB, int cacheSizeMB, boolean memoryMapping, boolean useBlobStore, int dsCacheInMB)
public static OakFixture getSegmentTar(String name, File base, int maxFileSizeMB, int cacheSizeMB, boolean memoryMapping, boolean useBlobStore, int dsCacheInMB)
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.