[infinispan-issues] [JBoss JIRA] (ISPN-1492) Avoid starting the Eviction thread on caches without eviction enabled

Manik Surtani (Commented) (JIRA) jira-events at lists.jboss.org
Wed Nov 16 11:32:41 EST 2011


    [ https://issues.jboss.org/browse/ISPN-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643427#comment-12643427 ] 

Manik Surtani commented on ISPN-1492:
-------------------------------------

This thread is needed to clean up expired entries, regardless of eviction.  If you know for sure that you're never using lifespans or maxIdles, then disable the reaper thread.
                
> Avoid starting the Eviction thread on caches without eviction enabled
> ---------------------------------------------------------------------
>
>                 Key: ISPN-1492
>                 URL: https://issues.jboss.org/browse/ISPN-1492
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Sanne Grinovero
>            Assignee: Manik Surtani
>             Fix For: 5.1.0.BETA5
>
>
> I'm starting a local only CacheManager having three caches, none of them have eviction enabled, still the eviction thread is started and periodically scanning the container:
> {quote}
> 2011-10-26 20:01:49,795 TRACE [EvictionManagerImpl] (Scheduled-eviction-thread-0) Purging data container of expired entries
> 2011-10-26 20:01:49,796 TRACE [EvictionManagerImpl] (Scheduled-eviction-thread-0) Purging data container completed in 0 milliseconds
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list