/** * Max address(value is less than 0). * <p/> * <p> * Be careful: it's an address just when invoking this method. * </p> */ public long getMaxAddress() { MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile(); if (mappedFile == null) { return decorate(0); } return decorate(mappedFile.getFileFromOffset() + mappedFile.getWrotePosition()); }
return decorate(wrotePosition + mappedFile.getFileFromOffset());
/** * Max address(value is less than 0). * <p/> * <p> * Be careful: it's an address just when invoking this method. * </p> */ public long getMaxAddress() { MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile(); if (mappedFile == null) { return decorate(0); } return decorate(mappedFile.getFileFromOffset() + mappedFile.getWrotePosition()); }
return decorate(wrotePosition + mappedFile.getFileFromOffset());
/** * Max address(value is less than 0). * <p/> * <p> * Be careful: it's an address just when invoking this method. * </p> */ public long getMaxAddress() { MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile(); if (mappedFile == null) { return decorate(0); } return decorate(mappedFile.getFileFromOffset() + mappedFile.getWrotePosition()); }
return decorate(wrotePosition + mappedFile.getFileFromOffset());