lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4124) factor ByteBufferIndexInput out of MMapDirectory
Date Sat, 09 Jun 2012 11:51:43 GMT


Robert Muir commented on LUCENE-4124:

I agree. actually we might want to make other methods final that arent intended to be subclassed
(e.g. readByte).

The whole thing is a pkg-private class anyway and should be locked down unless we need.

Mainly i just wanted to get this patch off my laptop (have had it around for a while) and
up on a JIRA issue instead
since I think its a good split to do.
> factor ByteBufferIndexInput out of MMapDirectory
> ------------------------------------------------
>                 Key: LUCENE-4124
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/store
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-4124.patch
> I think we should factor a ByteBufferIndexInput out of MMapDir, leaving only the mmap/unmapping
in mmapdir.
> Its a cleaner separation and would allow it to be used for other purposes (e.g. direct
or array-backed buffers)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message