/** * Construct a Store writer */ public TargetedDataFileAppender(Journal journal, DataFile target) { this.journal = journal; this.target = target; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); }
/** * Construct a Store reader * * @throws IOException */ public DataFileAccessor(Journal dataManager, DataFile dataFile) throws IOException { this.dataFile = dataFile; this.inflightWrites = dataManager.getInflightWrites(); this.file = dataFile.openRandomAccessFile(); }
/** * Construct a Store writer */ public DataFileAppender(Journal dataManager) { this.journal = dataManager; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); this.syncOnComplete = this.journal.isEnableAsyncDiskSync(); this.periodicSync = JournalDiskSyncStrategy.PERIODIC.equals( this.journal.getJournalDiskSyncStrategy()); }
/** * Construct a Store reader * * @throws IOException */ public DataFileAccessor(Journal dataManager, DataFile dataFile) throws IOException { this.dataFile = dataFile; this.inflightWrites = dataManager.getInflightWrites(); this.file = dataFile.openRandomAccessFile(); }
/** * Construct a Store reader * * @throws IOException */ public DataFileAccessor(Journal dataManager, DataFile dataFile) throws IOException { this.dataFile = dataFile; this.inflightWrites = dataManager.getInflightWrites(); this.file = dataFile.openRandomAccessFile(); }
/** * Construct a Store reader * * @throws IOException */ public DataFileAccessor(Journal dataManager, DataFile dataFile) throws IOException { this.dataFile = dataFile; this.inflightWrites = dataManager.getInflightWrites(); this.file = dataFile.openRandomAccessFile(); }
/** * Construct a Store writer */ public TargetedDataFileAppender(Journal journal, DataFile target) { this.journal = journal; this.target = target; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); }
/** * Construct a Store writer */ public TargetedDataFileAppender(Journal journal, DataFile target) { this.journal = journal; this.target = target; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); }
/** * Construct a Store writer */ public TargetedDataFileAppender(Journal journal, DataFile target) { this.journal = journal; this.target = target; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); }
/** * Construct a Store writer */ public DataFileAppender(Journal dataManager) { this.journal = dataManager; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); this.syncOnComplete = this.journal.isEnableAsyncDiskSync(); this.periodicSync = JournalDiskSyncStrategy.PERIODIC.equals( this.journal.getJournalDiskSyncStrategy()); }
/** * Construct a Store writer */ public DataFileAppender(Journal dataManager) { this.journal = dataManager; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); this.syncOnComplete = this.journal.isEnableAsyncDiskSync(); this.periodicSync = JournalDiskSyncStrategy.PERIODIC.equals( this.journal.getJournalDiskSyncStrategy()); }
/** * Construct a Store writer */ public DataFileAppender(Journal dataManager) { this.journal = dataManager; this.inflightWrites = this.journal.getInflightWrites(); this.maxWriteBatchSize = this.journal.getWriteBatchSize(); this.syncOnComplete = this.journal.isEnableAsyncDiskSync(); this.periodicSync = JournalDiskSyncStrategy.PERIODIC.equals( this.journal.getJournalDiskSyncStrategy()); }