[infinispan-issues] [JBoss JIRA] (ISPN-7954) Cache.getCacheEntry clears created/lastUsed times before returning

Dan Berindei (JIRA) issues at jboss.org
Wed Jun 21 09:06:00 EDT 2017


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

Dan Berindei commented on ISPN-7954:
------------------------------------

Created time seems useful, especially for rolling upgrades. OTOH I don't think there's a way to create an entry with a specific timestamp, either.

> Cache.getCacheEntry clears created/lastUsed times before returning
> ------------------------------------------------------------------
>
>                 Key: ISPN-7954
>                 URL: https://issues.jboss.org/browse/ISPN-7954
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.1.Final, 9.1.0.Beta1
>            Reporter: William Burns
>
> While writing a test for ISPN-7952 I found that due to the layers of wrapping and transformations of cache entry objects that the created and last used times will get cleared and set to 0. Do we care about user getting this data, and actually lastUsed would probably be the current time as it was just accessed.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list