[
https://issues.jboss.org/browse/JGRP-1551?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1551:
--------------------------------
Actually, I didn't modify AgeOutCache, but created a new ExpiryCache which does *not*
use any timer tasks. TP uses it as the new who-has cache, replacing AgeOutCache.
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