[jboss-jira] [JBoss JIRA] (JBJCA-1361) Documentation for flush strategies needs clarification

Stephen Fikes (JIRA) issues at jboss.org
Wed Nov 29 16:08:00 EST 2017


     [ https://issues.jboss.org/browse/JBJCA-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Fikes updated JBJCA-1361:
---------------------------------
    Description: 
http://www.ironjacamar.org/doc/userguide/1.2/en-US/html_single/index.html#d0e3787

It wasn't immediately clear to me how {{EntirePool}} and {{IdleConnections}} flush strategies work since both use the word "all" in their explanation/definition. Comparing {{AllConnections}} and {{AllIdleConnections}} it is clear that "all" with regard to {{EntirePool}} and {{IdleConnections}} is limited in some sense.

The subtlety lies in the fact that a single datasource can have multiple (internal) sets of connections grouped/segregated by authentication credentials. Consequently, "all" in the context of {{EntirePool}} or {{IdleConnections}} is limited to a subset of the connections - specifically to those that are associated with a specific authentication credential whereas the {{All*}} variants include all subsets associated with the datasource (regardless of credentials).

  was:
http://www.ironjacamar.org/doc/userguide/1.2/en-US/html_single/index.html#d0e3787

It wasn't immediately clear to me how {{EntirePool}} and {{IdleConnections}} flush strategies work since both use the word "all" in their explanation/definition. Comparing {{AllConnections}} and {{AllIdleConnections}} it is clear that "all" with regard to {{EntirePool}} and {{IdleConnections}} is limited in some sense.

The subtlety lies in the fact that a single datasource can have multiple (internal) sets of connections grouped/segregated by authentication credentials. Consequently, "all" in the context of {{EntirePool}} or {{IdleConnections}} is limited to a subset of the connections that are associated with a specific authentication credential whereas the {{All*}} variants are not so limited.



> Documentation for flush strategies needs clarification
> ------------------------------------------------------
>
>                 Key: JBJCA-1361
>                 URL: https://issues.jboss.org/browse/JBJCA-1361
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: WildFly/IronJacamar 1.3.4.Final, 1.2.7.Final
>            Reporter: Stephen Fikes
>
> http://www.ironjacamar.org/doc/userguide/1.2/en-US/html_single/index.html#d0e3787
> It wasn't immediately clear to me how {{EntirePool}} and {{IdleConnections}} flush strategies work since both use the word "all" in their explanation/definition. Comparing {{AllConnections}} and {{AllIdleConnections}} it is clear that "all" with regard to {{EntirePool}} and {{IdleConnections}} is limited in some sense.
> The subtlety lies in the fact that a single datasource can have multiple (internal) sets of connections grouped/segregated by authentication credentials. Consequently, "all" in the context of {{EntirePool}} or {{IdleConnections}} is limited to a subset of the connections - specifically to those that are associated with a specific authentication credential whereas the {{All*}} variants include all subsets associated with the datasource (regardless of credentials).



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list