Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7641

Add CacheEntry#ttl method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3
    • None
    • cache

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sdarlington Stephen Darlington
              vkulichenko Valentin Kulichenko
              Vyacheslav Koptilin Vyacheslav Koptilin
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Remaining Estimate - 168h
                  50m