[ 
https://issues.apache.org/jira/browse/CASSANDRA-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069250#comment-13069250
 ] 

Jonathan Ellis commented on CASSANDRA-2921:
-------------------------------------------

There's no reason to have Reader and Writer live in the same outer class 
anymore.  Let's split them up.

Similarly, no reason to split ARAF out from Reader.

Writer should probably just extend OutputStream, and let caller wrap in DOS if 
they want instead of pulling in that Harmony code (if we can get rid of it, 
great).


> Split BufferedRandomAccessFile (BRAF) into Input and Output classes 
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-2921
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2921
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.0
>
>         Attachments: CASSANDRA-2921-make-Writer-a-stream.patch, 
> CASSANDRA-2921-v2.patch, CASSANDRA-2921.patch
>
>
> Split BRAF into Input and Output classes to void complexity related to random 
> I/O in "write" mode that we don't need any more, see CASSANDRA-2879. And make 
> implementation more clean and reusable.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to