You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Rutherglen (JIRA)" <ji...@apache.org> on 2008/06/28 23:41:45 UTC

[jira] Created: (LUCENE-1319) Allow user configurable buffersize for RAMDirectory

Allow user configurable buffersize for RAMDirectory
---------------------------------------------------

                 Key: LUCENE-1319
                 URL: https://issues.apache.org/jira/browse/LUCENE-1319
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Store
    Affects Versions: 2.3.1
            Reporter: Jason Rutherglen
            Priority: Trivial


Currently RAMDirectory via RAMOutputStream has a package protected value of 1024 as the buffer size for use in RAMFile.  This issue proposes adding a single constructor to RAMDirectory allowing the user to specify the buffer size.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1319) Allow user configurable buffersize for RAMDirectory

Posted by "Jason Rutherglen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Rutherglen updated LUCENE-1319:
-------------------------------------

    Attachment: lucene-1319.patch

lucene-1319.patch

Added RAMDirectory(int bufferSize) along with accompanying changes to RAMInputStream and RAMOutputStream.  Also made RAMInputStream and RAMFile public and extensible. 

> Allow user configurable buffersize for RAMDirectory
> ---------------------------------------------------
>
>                 Key: LUCENE-1319
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1319
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 2.3.1
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>         Attachments: lucene-1319.patch
>
>
> Currently RAMDirectory via RAMOutputStream has a package protected value of 1024 as the buffer size for use in RAMFile.  This issue proposes adding a single constructor to RAMDirectory allowing the user to specify the buffer size.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1319) Allow user configurable buffersize for RAMDirectory

Posted by "Jason Rutherglen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Rutherglen updated LUCENE-1319:
-------------------------------------

    Attachment: lucene-1319.patch

lucene-1319.patch

Added default constructor for RAMOutputStream.  RAMInputStream.writeTo method.  Made RAMFile buffers publicly accessible.  Making RAMFile public allows implemenations that want to pool byte arrays.

> Allow user configurable buffersize for RAMDirectory
> ---------------------------------------------------
>
>                 Key: LUCENE-1319
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1319
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 2.3.1
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>         Attachments: lucene-1319.patch, lucene-1319.patch
>
>
> Currently RAMDirectory via RAMOutputStream has a package protected value of 1024 as the buffer size for use in RAMFile.  This issue proposes adding a single constructor to RAMDirectory allowing the user to specify the buffer size.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org