[
http://jira.jboss.com/jira/browse/JBCACHE-1268?page=comments#action_12395219 ]
Brian Stansberry commented on JBCACHE-1268:
-------------------------------------------
That's exactly what I'm proposing. There have been a number of times in AS work
where I've thought about this kind of thing; web session replication and EBJ3 SFSBs
for example already have background threads running that do various sorts of cleanup work
(including, in the web session case, a form of eviction). What the JBC eviction thread
does is really trivial and only involves the normal user API. Letting the existing
background threads do this work removes one possible source of complication.
Allow disabling of eviction thread
----------------------------------
Key: JBCACHE-1268
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1268
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Eviction
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: 2.1.0.GA
The eviction thread is just a convenience; it doesn't do anything that a thread
managed by the application couldn't do. But, right now if you want to configure
eviction you can't turn this thread off. We should support disabling the eviction
thread by setting wakeupIntervalSeconds to 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira