In practice, I've not seen a use case where retrieving the TTL is required. Depending on what you want to do, there are likely to be workarounds.
Regards, Stephen On Thu, 31 Aug 2023 at 01:51, Mengyu Jing <[email protected]> wrote: > Hi, Stephen Darlington > > > > I don't have any use cases yet, I just want to know how to obtain the > expiration time of each cache entry. > > Thank you for your reply! > > > > 从 Windows 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>发送 > > > > *发件人: *Stephen Darlington <[email protected]> > *发送时间: *2023年8月29日 20:46 > *收件人: *[email protected] > *主题: *Re: An issue about the expiration time of item level cache > > > > There is a ticket for this ( > https://issues.apache.org/jira/browse/IGNITE-7641) but there is currently > no API. > > > > What’s your use case? > > > > On 29 Aug 2023, at 13:20, Mengyu Jing <[email protected]> wrote: > > > > Hi, igniters: > > > > I would like to ask some questions about Ignite. Is there a ready-made > method for Ignite to retrieve the expiration time set for a key in the > cache? Or is there a method to find the TTL of a certain key? I never found > it in the document. > > > > Thank you! > > > > 从 Windows 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>发送 > > > > >
