[infinispan-issues] [JBoss JIRA] (ISPN-1792) API to return modification timestamp of a given entry
Thomas Fromm (JIRA)
jira-events at lists.jboss.org
Fri Jan 27 10:57:49 EST 2012
[ https://issues.jboss.org/browse/ISPN-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662450#comment-12662450 ]
Thomas Fromm commented on ISPN-1792:
------------------------------------
Yes, but I need always the timestamp. Maybe you can store the timestamp a negative long value for immortal entries. -1234567... so you have the information that its immortal and as additional the last modified timestamp information :-)
> API to return modification timestamp of a given entry
> -----------------------------------------------------
>
> Key: ISPN-1792
> URL: https://issues.jboss.org/browse/ISPN-1792
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 5.1.0.FINAL
> Reporter: Thomas Fromm
> Assignee: Manik Surtani
> Fix For: 5.2.0.FINAL
>
>
> To realise things like: programmatic delete last X entries from cache, I need the modification timestamp of the cache entry. ATM I store it inside the key object (cause I cannot modify value objects) and have my own index on this.
> Getting the modification timestamp using the advanced cache api would be really nice.
--
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