private PageFile createPageFile() { PageFile index = new PageFile(directory, "temp-db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setEnableDiskSyncs(false); index.setEnableRecoveryFile(false); return index; }
private PageFile createPageFile() throws IOException { if (indexDirectory == null) { indexDirectory = directory; } IOHelper.mkdirs(indexDirectory); PageFile index = new PageFile(indexDirectory, "db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(indexCacheSize); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
/** * Create the PageFile instance and configure it using the configuration options * currently set. * * @return the newly created and configured PageFile instance. */ protected PageFile createPageFile() { PageFile index = new PageFile(getDirectory(), getPageFileName()); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(getIndexCacheSize()); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
private PageFile createPageFile() { PageFile index = new PageFile(directory, "temp-db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setEnableDiskSyncs(false); index.setEnableRecoveryFile(false); return index; }
private PageFile createPageFile() { PageFile index = new PageFile(directory, "temp-db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setEnableDiskSyncs(false); index.setEnableRecoveryFile(false); return index; }
private PageFile createPageFile() { PageFile index = new PageFile(directory, "temp-db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setEnableDiskSyncs(false); index.setEnableRecoveryFile(false); return index; }
private PageFile createPageFile() throws IOException { if (indexDirectory == null) { indexDirectory = directory; } IOHelper.mkdirs(indexDirectory); PageFile index = new PageFile(indexDirectory, "db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(indexCacheSize); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
private PageFile createPageFile() throws IOException { if (indexDirectory == null) { indexDirectory = directory; } IOHelper.mkdirs(indexDirectory); PageFile index = new PageFile(indexDirectory, "db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(indexCacheSize); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
private PageFile createPageFile() throws IOException { if (indexDirectory == null) { indexDirectory = directory; } IOHelper.mkdirs(indexDirectory); PageFile index = new PageFile(indexDirectory, "db"); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(indexCacheSize); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
/** * Create the PageFile instance and configure it using the configuration options * currently set. * * @return the newly created and configured PageFile instance. */ protected PageFile createPageFile() { PageFile index = new PageFile(getDirectory(), getPageFileName()); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(getIndexCacheSize()); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
/** * Create the PageFile instance and configure it using the configuration options * currently set. * * @return the newly created and configured PageFile instance. */ protected PageFile createPageFile() { PageFile index = new PageFile(getDirectory(), getPageFileName()); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(getIndexCacheSize()); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }
/** * Create the PageFile instance and configure it using the configuration options * currently set. * * @return the newly created and configured PageFile instance. */ protected PageFile createPageFile() { PageFile index = new PageFile(getDirectory(), getPageFileName()); index.setEnableWriteThread(isEnableIndexWriteAsync()); index.setWriteBatchSize(getIndexWriteBatchSize()); index.setPageCacheSize(getIndexCacheSize()); index.setUseLFRUEviction(isUseIndexLFRUEviction()); index.setLFUEvictionFactor(getIndexLFUEvictionFactor()); index.setEnableDiskSyncs(isEnableIndexDiskSyncs()); index.setEnableRecoveryFile(isEnableIndexRecoveryFile()); index.setEnablePageCaching(isEnableIndexPageCaching()); return index; }