Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60BD160C6 for ; Thu, 21 Jul 2011 22:28:21 +0000 (UTC) Received: (qmail 21586 invoked by uid 500); 21 Jul 2011 22:28:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21532 invoked by uid 500); 21 Jul 2011 22:28:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 21518 invoked by uid 99); 21 Jul 2011 22:28:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 22:28:20 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 22:28:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A17994EDC0 for ; Thu, 21 Jul 2011 22:27:58 +0000 (UTC) Date: Thu, 21 Jul 2011 22:27:58 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1083063845.13054.1311287278658.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1478714906.4956.1311102178107.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2921) Split BufferedRandomAccessFile (BRAF) into Input and Output classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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