cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2921) Split BufferedRandomAccessFile (BRAF) into Input and Output classes
Date Wed, 20 Jul 2011 15:04:58 GMT


Jonathan Ellis commented on CASSANDRA-2921:

Okay.  I still think we should have Input and Writer (let's make these symmetrical: Input
and Output, or Reader and Writer) expose interfaces more specific to what we want to do.

Specifically, Writer shouldn't extend RAF since we're not supporting seeking anymore.  We
don't need to wrap one either (we can still get the fd for CLibrary from FileChannel.fileDescriptor,
for instance).

> Split BufferedRandomAccessFile (BRAF) into Input and Output classes 
> --------------------------------------------------------------------
>                 Key: CASSANDRA-2921
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.0
>         Attachments: 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:


View raw message