public abstract class OakFixture extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OakFixture.MongoFixture |
static class |
OakFixture.SegmentFixture
Deprecated.
|
| 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_MULTIPLEXING |
static String |
OAK_MULTIPLEXING_MEMORY |
static String |
OAK_RDB |
static String |
OAK_RDB_DS |
static String |
OAK_SEGMENT_TAR |
static String |
OAK_SEGMENT_TAR_DS |
static String |
OAK_TAR
Deprecated.
|
static String |
OAK_TAR_DS
Deprecated.
|
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) |
static OakFixture |
getMultiplexing(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
int mounts,
int pathsPerMount) |
static OakFixture |
getMultiplexingInMemory(String name,
int mounts,
int pathsPerMount) |
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)
Deprecated.
|
static OakFixture |
getTar(String name,
File base,
int maxFileSizeMB,
int cacheSizeMB,
boolean memoryMapping,
boolean useBlobStore,
int dsCacheInMB)
Deprecated.
|
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
@Deprecated public static final String OAK_TAR
@Deprecated public static final String OAK_TAR_DS
public static final String OAK_SEGMENT_TAR
public static final String OAK_SEGMENT_TAR_DS
public static final String OAK_MULTIPLEXING
public static final String OAK_MULTIPLEXING_MEMORY
protected final String unique
protected OakFixture(String name)
public abstract org.apache.jackrabbit.oak.Oak getOak(int clusterId) throws Exception
Exceptionpublic abstract org.apache.jackrabbit.oak.Oak[] setUpCluster(int n, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) throws Exception
Exceptionpublic 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)
@Deprecated 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)
@Deprecated 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)
public static OakFixture getMultiplexing(String name, File base, int maxFileSizeMB, int cacheSizeMB, boolean memoryMapping, int mounts, int pathsPerMount)
public static OakFixture getMultiplexingInMemory(String name, int mounts, int pathsPerMount)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.