Use of the SKIP_REMOTE_LOOKUP to access a RHDG cache

Solution Verified - Updated -


  • Is it a performance benefit to use the SKIP_REMOTE_LOOKUP if the embedded cache is replicated?
  • Under some conditions getAdvancedCache().withFlags(Flag.SKIP_REMOTE_LOOKUP).get(key) operation returns null for a given key in some situation. Cache size also returns as 0 in this situation. How could this be avoided?
  • Is it possible to use SKIP_REMOTE_LOOKUP for embedded distributed caches ?
  • When should I use a cache get with advanced flag SKIP_REMOTE_LOOKUP
  • Is use of Flag.CACHE_MODE_LOCAL a good idea?


  • Red Hat Data Grid (RHDG)
    • embedded (library) mode

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