/** * 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(); }
file = dataFile.openRandomAccessFile();
private void writePendingBatch() throws IOException { DataFile dataFile = nextWriteBatch.dataFile; try (RecoverableRandomAccessFile file = dataFile.openRandomAccessFile(); DataByteArrayOutputStream buff = new DataByteArrayOutputStream(maxWriteBatchSize);) {
/** * 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(); }
file = dataFile.openRandomAccessFile();
file = dataFile.openRandomAccessFile();
file = dataFile.openRandomAccessFile();
private void writePendingBatch() throws IOException { DataFile dataFile = nextWriteBatch.dataFile; try (RecoverableRandomAccessFile file = dataFile.openRandomAccessFile(); DataByteArrayOutputStream buff = new DataByteArrayOutputStream(maxWriteBatchSize);) {
private void writePendingBatch() throws IOException { DataFile dataFile = nextWriteBatch.dataFile; try (RecoverableRandomAccessFile file = dataFile.openRandomAccessFile(); DataByteArrayOutputStream buff = new DataByteArrayOutputStream(maxWriteBatchSize);) {
private void writePendingBatch() throws IOException { DataFile dataFile = nextWriteBatch.dataFile; try (RecoverableRandomAccessFile file = dataFile.openRandomAccessFile(); DataByteArrayOutputStream buff = new DataByteArrayOutputStream(maxWriteBatchSize);) {