From dev-return-30733-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Feb 7 01:10:12 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 419BE180657 for ; Wed, 7 Feb 2018 01:10:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3185E160C46; Wed, 7 Feb 2018 00:10:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7FDAE160C45 for ; Wed, 7 Feb 2018 01:10:11 +0100 (CET) Received: (qmail 80662 invoked by uid 500); 7 Feb 2018 00:10:10 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 80651 invoked by uid 99); 7 Feb 2018 00:10:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2018 00:10:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 257151A013D for ; Wed, 7 Feb 2018 00:10:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cCOOlMlm_EMZ for ; Wed, 7 Feb 2018 00:10:09 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9043D5F11F for ; Wed, 7 Feb 2018 00:10:08 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2954CE00C6 for ; Wed, 7 Feb 2018 00:10:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0207E21E83 for ; Wed, 7 Feb 2018 00:10:00 +0000 (UTC) Date: Wed, 7 Feb 2018 00:10:00 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-7641) Add CacheEntry#ttl method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Valentin Kulichenko created IGNITE-7641: ------------------------------------------- Summary: 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 Ignite provides a way to specify an expiry policy on per entry level, but t= here is no way to know the current TTL for a particular key. We can add {{CacheEntry#ttl()}}=C2=A0and/or {{IgniteCache#ttl(K key)}}=C2= =A0method that will provide this information. Looks like it's already avail= able via {{GridCacheMapEntry#ttl()}}, so we just need to properly expose it= to public API. Here is the user forum discussion about this:=C2=A0http://apache-ignite-use= rs.70518.x6.nabble.com/Get-TTL-of-the-specific-K-V-entry-td19817.html -- This message was sent by Atlassian JIRA (v7.6.3#76005)