Handling of cache entry meta data (creation/ last access time, lifespan, maxIdle) in RHDG

Solution Verified - Updated -

Issue

  • Is it possible to retrieve the creation date or the last access time for a cache entry in JDG?
  • We want to read the creation date of an entry in a cache how can I get this?
  • If the AdvancedCache and retrieve a CacheEntry object I see a method getCreated() but it always return -1

Environment

  • Red Hat Data Grid (RHDG)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content