[ 
https://issues.apache.org/jira/browse/IGNITE-7641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kukushkin resolved IGNITE-7641.
--------------------------------------
    Resolution: Duplicate

The requirement is described in IGNITE-14326. Closing this issue as a duplicate

> Add CacheEntry#ttl method
> -------------------------
>
>                 Key: IGNITE-7641
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7641
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.3
>            Reporter: Valentin Kulichenko
>            Assignee: Stephen Darlington
>            Priority: Major
>              Labels: cggg
>          Time Spent: 50m
>  Remaining Estimate: 168h
>
> Ignite provides a way to specify an expiry policy on per entry level, but 
> there is no way to know the current TTL for a particular key.
> We can add {{CacheEntry#ttl()}} and/or {{IgniteCache#ttl(K key)}} method that 
> will provide this information. Looks like it's already available via 
> {{GridCacheMapEntry#ttl()}}, so we just need to properly expose it to public 
> API.
> Here is the user forum discussion about this: 
> http://apache-ignite-users.70518.x6.nabble.com/Get-TTL-of-the-specific-K-V-entry-td19817.html



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to