[jboss-jira] [JBoss JIRA] (JGRP-1437) Documentation problem with getView() (JGroups manual)

Jean-Philippe Gariepy (JIRA) jira-events at lists.jboss.org
Tue Mar 13 12:43:53 EDT 2012


Jean-Philippe Gariepy created JGRP-1437:
-------------------------------------------

             Summary: Documentation problem with getView() (JGroups manual) 
                 Key: JGRP-1437
                 URL: https://issues.jboss.org/browse/JGRP-1437
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Jean-Philippe Gariepy
            Assignee: Bela Ban
            Priority: Minor


There is a contradiction regarding whether or not getView() returns the current view.

>From the JGroups 3 manual:
{quote}
3.8.7. Getting the current view
The following method can be used to get the current view of a channel:

public View getView();

This method does not returns the current view of the channel. The current view is updated every time a new view is installed (viewAccepted() callback).
Calling this method on an unconnected or closed channel is implementation defined. A channel may return null, or it may return the last view it knew of.
{quote}



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

        


More information about the jboss-jira mailing list