[GRADLEREV-48] RandomAccessFile backed test output read Created: 29/Jul/13  Updated: 02/Aug/13  Resolved: 02/Aug/13

Status: Resolved
Project: Gradle Code Review Tasks
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Adam Murdoch Assignee: Luke Daley
Resolution: Fixed Votes: 0
Labels: None


 Description   

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.


Generated at Wed Jun 30 11:19:07 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.