incubator-flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E. Sammer (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLUME-784) MemoryChannel should poll with timeout on take() rather than block indefinitely
Date Tue, 11 Oct 2011 07:00:30 GMT

     [ https://issues.apache.org/jira/browse/FLUME-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

E. Sammer closed FLUME-784.
---------------------------

    
> MemoryChannel should poll with timeout on take() rather than block indefinitely
> -------------------------------------------------------------------------------
>
>                 Key: FLUME-784
>                 URL: https://issues.apache.org/jira/browse/FLUME-784
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: NG alpha 1
>            Reporter: E. Sammer
>            Assignee: E. Sammer
>             Fix For: NG alpha 1
>
>
> MemoryChannel is currently completely blocking; it uses ArrayBlockingQueue#put() and
#take() rather than offer() and poll(). This is suboptimal for certain runner strategies and
background tasks. For now, MemoryChannel should use #poll(x) where x is some reasonable (ideally
configurable) timeout.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message