[jboss-jira] [JBoss JIRA] (JGRP-1551) AgePutCache: use 1 timer tasks for all elements rather than 1 task per element

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Dec 10 05:41:17 EST 2012


Bela Ban created JGRP-1551:
------------------------------

             Summary: AgePutCache: use 1 timer tasks for all elements rather than 1 task per element
                 Key: JGRP-1551
                 URL: https://issues.jboss.org/browse/JGRP-1551
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 3.3


Currently, AgeOutCache uses 1 task for every element. Change this to 1 task for all elements, so we reduce the number of tasks in the timer.
AgeOutCache is used e.g. in TP, to see if we've recently requested fetching of a physical address from the discovery protocol, to suppress too many discovery requests.
The task would be started whenever add() is called and a task is not yet already running. After all elements have expired, the task would terminated until the next add() is called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list