public static class OakFixture.MongoFixture extends OakFixture
OakFixture.MongoFixture, OakFixture.SegmentFixtureOAK_MEMORY, OAK_MEMORY_NS, OAK_MONGO, OAK_MONGO_DS, OAK_MONGO_NS, OAK_MULTIPLEXING, OAK_MULTIPLEXING_MEMORY, OAK_RDB, OAK_RDB_DS, OAK_SEGMENT_TAR, OAK_SEGMENT_TAR_DS, OAK_TAR, OAK_TAR_DS, unique| Constructor and Description |
|---|
OakFixture.MongoFixture(String name,
String uri,
boolean dropDBAfterTest,
long cacheSize,
boolean useDataStore,
File base,
int dsCacheInMB) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder |
getBuilder(int clusterId) |
org.apache.jackrabbit.oak.Oak |
getOak(int clusterId) |
org.apache.jackrabbit.oak.Oak[] |
setUpCluster(org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder[] builders,
org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) |
org.apache.jackrabbit.oak.Oak[] |
setUpCluster(int n,
org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) |
void |
tearDownCluster() |
getMemory, getMemory, getMemoryNS, getMongo, getMongo, getMongo, getMongo, getMongoNS, getMongoNS, getMultiplexing, getMultiplexingInMemory, getRDB, getRDB, getSegmentTar, getSegmentTar, getTar, getTar, getUniqueDatabaseName, toStringpublic org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder getBuilder(int clusterId) throws UnknownHostException
UnknownHostExceptionpublic org.apache.jackrabbit.oak.Oak getOak(int clusterId) throws Exception
getOak in class OakFixtureExceptionpublic org.apache.jackrabbit.oak.Oak[] setUpCluster(org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder[] builders, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) throws Exception
Exceptionpublic org.apache.jackrabbit.oak.Oak[] setUpCluster(int n, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) throws Exception
setUpCluster in class OakFixtureExceptionpublic void tearDownCluster()
tearDownCluster in class OakFixtureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.