<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:09 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-694] OFP - Reuse Threads using ThreadPool in SystemNotificationListenerImpl.java</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-694</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Stop instantiating new thread for echo after switch connected. Rather prepare threadpool while starting OFP and reuse threads.&lt;/p&gt;

&lt;p&gt;    @Override&lt;br/&gt;
    public void onSwitchIdleEvent(final SwitchIdleEvent notification) {&lt;br/&gt;
        new Thread(new Runnable() {&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27962">OPNFLWPLUG-694</key>
            <summary>OFP - Reuse Threads using ThreadPool in SystemNotificationListenerImpl.java</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="batky">Jozef Bacigal</assignee>
                                    <reporter username="jozef.slezak@pantheon.sk">Jozef Slez&#225;k</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 May 2016 13:55:31 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:49 +0000</updated>
                            <resolved>Tue, 21 Jun 2016 09:13:55 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="57895" author="tomas.slusny@pantheon.tech" created="Fri, 20 May 2016 10:16:58 +0000"  >&lt;p&gt;(In reply to Jozef Slez&#225;k from comment #0)&lt;br/&gt;
&amp;gt; Stop instantiating new thread for echo after switch connected. Rather&lt;br/&gt;
&amp;gt; prepare threadpool while starting OFP and reuse threads.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt;     @Override&lt;br/&gt;
&amp;gt;     public void onSwitchIdleEvent(final SwitchIdleEvent notification) {&lt;br/&gt;
&amp;gt;         new Thread(new Runnable() {&lt;/p&gt;

&lt;p&gt;So, when instantiating this new thread pool, what should be it&apos;s behaviour? Should it have fixed size or not limit and to just reuse previous threads when available? Also, should it automatically shutdown threads after timeout (ex. 60 seconds)?&lt;/p&gt;

&lt;p&gt;Right now, I came up with fixed thread pool with limit of # of available processors + 1, without any automatic shutdown after timeout.&lt;/p&gt;</comment>
                            <comment id="57896" author="tomas.slusny@pantheon.tech" created="Tue, 24 May 2016 08:05:10 +0000"  >&lt;p&gt;GERRIT: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39306&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39306&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5924</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5924]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10339"><![CDATA[Boron-M4]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i032qf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>