Class OakFixture

    • Constructor Detail

      • OakFixture

        protected OakFixture​(String name)
    • Method Detail

      • getUniqueDatabaseName

        public static String getUniqueDatabaseName​(String name)
      • tearDownCluster

        public abstract void tearDownCluster()
      • getMemory

        public static OakFixture getMemory​(long cacheSize)
      • getMemoryNS

        public static OakFixture getMemoryNS​(long cacheSize)
      • getMemory

        public static OakFixture getMemory​(String name,
                                           long cacheSize)
      • getMongo

        public static OakFixture getMongo​(String uri,
                                          boolean dropDBAfterTest,
                                          long cacheSize,
                                          boolean throttlingEnabled)
      • getMongo

        public static OakFixture getMongo​(String host,
                                          int port,
                                          String database,
                                          boolean dropDBAfterTest,
                                          long cacheSize,
                                          boolean throttlingEnabled)
      • getMongoNS

        public static OakFixture getMongoNS​(String uri,
                                            boolean dropDBAfterTest,
                                            long cacheSize,
                                            boolean throttlingEnabled)
      • getMongoNS

        public static OakFixture getMongoNS​(String host,
                                            int port,
                                            String database,
                                            boolean dropDBAfterTest,
                                            long cacheSize,
                                            boolean throttlingEnabled)
      • getMongo

        public static OakFixture getMongo​(String name,
                                          String host,
                                          int port,
                                          String database,
                                          boolean dropDBAfterTest,
                                          long cacheSize,
                                          boolean useFileDataStore,
                                          File base,
                                          int fdsCacheInMB,
                                          boolean throttlingEnabled)
      • getMongo

        public static OakFixture getMongo​(String name,
                                          String uri,
                                          boolean dropDBAfterTest,
                                          long cacheSize,
                                          boolean useDataStore,
                                          File base,
                                          int dsCacheInMB,
                                          boolean throttlingEnabled)
      • getRDB

        public static OakFixture getRDB​(String name,
                                        String jdbcuri,
                                        String jdbcuser,
                                        String jdbcpasswd,
                                        String tablePrefix,
                                        boolean dropDBAfterTest,
                                        long cacheSize,
                                        boolean useDataStore,
                                        File base,
                                        int dsCacheInMB,
                                        int vgcMaxAge)
      • getSegmentTar

        public static OakFixture getSegmentTar​(String name,
                                               File base,
                                               int maxFileSizeMB,
                                               int cacheSizeMB,
                                               boolean memoryMapping,
                                               int binariesInlineThreshold,
                                               boolean useBlobStore,
                                               int dsCacheInMB,
                                               boolean withColdStandby,
                                               int syncInterval,
                                               boolean shareBlobStore,
                                               boolean secure,
                                               boolean oneShotRun)
      • getVanillaSegmentTar

        public static OakFixture getVanillaSegmentTar​(File base,
                                                      int maxFileSizeMB,
                                                      int cacheSizeMB,
                                                      boolean memoryMapping,
                                                      int binariesInlineThreshold)
      • getVanillaSegmentTar

        public static OakFixture getVanillaSegmentTar​(File base,
                                                      int maxFileSizeMB,
                                                      int cacheSizeMB,
                                                      boolean memoryMapping)
      • getSegmentTarWithDataStore

        public static OakFixture getSegmentTarWithDataStore​(File base,
                                                            int maxFileSizeMB,
                                                            int cacheSizeMB,
                                                            boolean memoryMapping,
                                                            int binariesInlineThreshold,
                                                            int dsCacheInMB)
      • getSegmentTarWithColdStandby

        public static OakFixture getSegmentTarWithColdStandby​(File base,
                                                              int maxFileSizeMB,
                                                              int cacheSizeMB,
                                                              boolean memoryMapping,
                                                              int binariesInlineThreshold,
                                                              boolean useBlobStore,
                                                              int dsCacheInMB,
                                                              int syncInterval,
                                                              boolean shareBlobStore,
                                                              boolean secure,
                                                              boolean oneShotRun)
      • getSegmentTarWithAwsSegmentStore

        public static OakFixture getSegmentTarWithAwsSegmentStore​(File base,
                                                                  String awsBucketName,
                                                                  String awsRootPath,
                                                                  String awsJournalTableName,
                                                                  String awsLockTableName,
                                                                  int maxFileSizeMB,
                                                                  int cacheSizeMB,
                                                                  int binariesInlineThreshold,
                                                                  boolean useBlobStore,
                                                                  int dsCacheInMB)
      • getSegmentTarWithAzureSegmentStore

        public static OakFixture getSegmentTarWithAzureSegmentStore​(File base,
                                                                    String azureConnectionString,
                                                                    String azureContainerName,
                                                                    String azureRootPath,
                                                                    int maxFileSizeMB,
                                                                    int cacheSizeMB,
                                                                    int binariesInlineThreshold,
                                                                    boolean useBlobStore,
                                                                    int dsCacheInMB)
      • getCompositeStore

        public static OakFixture getCompositeStore​(String name,
                                                   File base,
                                                   int maxFileSizeMB,
                                                   int cacheSizeMB,
                                                   boolean memoryMapping,
                                                   int binariesInlineThreshold)
      • getCompositeMemoryStore

        public static OakFixture getCompositeMemoryStore​(String name)
      • getCompositeMongoStore

        public static OakFixture getCompositeMongoStore​(String name,
                                                        String uri,
                                                        long cacheSize,
                                                        boolean dropDBAfterTest,
                                                        boolean throttlingEnabled)