[GRADLEREV-48] RandomAccessFile backed test output read Created: 29/Jul/13 Updated: 02/Aug/13 Resolved: 02/Aug/13
|Project:||Gradle Code Review Tasks|
|Reporter:||Adam Murdoch||Assignee:||Luke Daley|
Opening the file and reading from the start of the file for each test(class) is going to be slow. A better implementation would be to use RandomAccessFile and use seek() to skip to the first event. It should also keep the file open until the caller is finished with writing outputs.
There's a RandomAccessFile backed InputStream implementation in FileBackedBlockStore that we can reuse here.