lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5700) Add 'accountable' interface for various ramBytesUsed
Date Wed, 28 May 2014 10:16:02 GMT


Dawid Weiss commented on LUCENE-5700:

I'm for throwing an exception. Either a class knows how to handle it or shouldn't implement
it (throw UnsupportedOperationException).

> Add 'accountable' interface for various ramBytesUsed
> ----------------------------------------------------
>                 Key: LUCENE-5700
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5700.patch
> Currently this is a disaster. there is ramBytesUsed(), sizeInBytes(), etc etc everywhere,
with zero consistency, little javadocs, and no structure. For example, look at LUCENE-5695,
where we go back and forth on how to handle "don't know". 
> I don't think we should add any more of these methods to any classes in lucene until
this has been cleaned up.

This message was sent by Atlassian JIRA

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

View raw message