[JBoss JIRA] Created: (NETTY-245) More convenience methods in CodecEmbedder

Trustin Lee (JIRA) jira-events at lists.jboss.org
Mon Nov 2 07:01:05 EST 2009


More convenience methods in CodecEmbedder
-----------------------------------------

                 Key: NETTY-245
                 URL: https://jira.jboss.org/jira/browse/NETTY-245
             Project: Netty
          Issue Type: Feature Request
          Components: Handler
            Reporter: Trustin Lee
            Assignee: Trustin Lee
             Fix For: 3.2.0.ALPHA1


It is sometimes useful to get the number of products in the CodecEmbedder queue -> add CodecEmbedder.size()
If the number of products is known, it's much simpler to iterate over the array of the product than to call poll() many times. -> addCodecEmbedder.pollAll(T[])


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list