[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1210) Add deprecated log message when using timeToIdleSeconds rather than timeToLiveSeconds

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Nov 6 06:33:44 EST 2007


Add deprecated log message when using timeToIdleSeconds rather than  timeToLiveSeconds
--------------------------------------------------------------------------------------

                 Key: JBCACHE-1210
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1210
             Project: JBoss Cache
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Eviction
    Affects Versions: 2.1.0.BETA1, 1.4.1.SP5
            Reporter: Galder Zamarreno
         Assigned To: Manik Surtani
            Priority: Minor


Back in JBossCache 1.1.x, evictions where configured with timeToIdleSeconds
rather than timeToLiveSeconds (which was introduced in JBC 1.2)

Hibernate in Action book, which is 3 years old comes with examples using 
timeToIdleSeconds which can mislead some customers to using this deprecate 
parameter.

I suggest we had a deprecation message (INFO or WARN) if this parameter is 
used to inform the customers of the deprecated use of it.

Potentially add something to docu?

-- 
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

        



More information about the jboss-jira mailing list