Class OakFixture.MongoFixture
- java.lang.Object
-
- org.apache.jackrabbit.oak.fixture.OakFixture
-
- org.apache.jackrabbit.oak.fixture.OakFixture.MongoFixture
-
- Enclosing class:
- OakFixture
public static class OakFixture.MongoFixture extends OakFixture
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.oak.fixture.OakFixture
OakFixture.MongoFixture
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.oak.fixture.OakFixture
OAK_COMPOSITE_MEMORY_STORE, OAK_COMPOSITE_MONGO_STORE, OAK_COMPOSITE_STORE, OAK_MEMORY, OAK_MEMORY_NS, OAK_MONGO, OAK_MONGO_DS, OAK_MONGO_NS, OAK_RDB, OAK_RDB_DS, OAK_SEGMENT_AWS, OAK_SEGMENT_AZURE, OAK_SEGMENT_TAR, OAK_SEGMENT_TAR_COLD, OAK_SEGMENT_TAR_DS, unique
-
-
Constructor Summary
Constructors Constructor Description MongoFixture(String name, String uri, boolean dropDBAfterTest, long cacheSize, boolean useDataStore, File base, int dsCacheInMB, boolean throttlingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentNodeStoreBuilder<?>
getBuilder(int clusterId)
Oak
getOak(int clusterId)
Oak[]
setUpCluster(int n, StatisticsProvider statsProvider)
Oak[]
setUpCluster(DocumentNodeStoreBuilder<?>[] builders, StatisticsProvider statsProvider)
void
tearDownCluster()
-
Methods inherited from class org.apache.jackrabbit.oak.fixture.OakFixture
getCompositeMemoryStore, getCompositeMongoStore, getCompositeStore, getMemory, getMemory, getMemoryNS, getMongo, getMongo, getMongo, getMongo, getMongoNS, getMongoNS, getRDB, getRDB, getSegmentTar, getSegmentTarWithAwsSegmentStore, getSegmentTarWithAzureSegmentStore, getSegmentTarWithColdStandby, getSegmentTarWithDataStore, getUniqueDatabaseName, getVanillaSegmentTar, getVanillaSegmentTar, toString
-
-
-
-
Method Detail
-
getBuilder
public DocumentNodeStoreBuilder<?> getBuilder(int clusterId)
-
getOak
public Oak getOak(int clusterId) throws Exception
- Specified by:
getOak
in classOakFixture
- Throws:
Exception
-
setUpCluster
public Oak[] setUpCluster(DocumentNodeStoreBuilder<?>[] builders, StatisticsProvider statsProvider) throws Exception
- Throws:
Exception
-
setUpCluster
public Oak[] setUpCluster(int n, StatisticsProvider statsProvider) throws Exception
- Specified by:
setUpCluster
in classOakFixture
- Throws:
Exception
-
tearDownCluster
public void tearDownCluster()
- Specified by:
tearDownCluster
in classOakFixture
-
-