[
https://issues.apache.org/jira/browse/FLUME-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621081#comment-13621081
]
Mike Percy commented on FLUME-1961:
-----------------------------------
My preference would be to start off adding this stuff to AbstractChannel, and
then over time after we feel it's quite stable we can create a channel
super-interface that has all that stuff in it. Interfaces are more formal and
less dangerous for implementers than abstract classes (when you add a method to
a base class you are stomping in your subclass's namespace) but we don't want
to end up with 5 different types of channel RTTI checks all over the place
either.
> Enhancements to the Channel interface
> -------------------------------------
>
> Key: FLUME-1961
> URL: https://issues.apache.org/jira/browse/FLUME-1961
> Project: Flume
> Issue Type: Improvement
> Components: Channel
> Affects Versions: v1.3.1
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Priority: Minor
> Fix For: v1.4.0
>
>
> All channels should be able to :
> - indicate their size - (number of events currently stored in them)
> - max capacity
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira