How to use versioned updates in JDG for remote caches with HotRod clients

Solution Verified - Updated -

Issue

  • How to check whether an update with replaceWithVersion is successful?
  • Is it possible to use the version number provided by (VersionedValue)getVersion() to check the consistence or updates?
  • Do I need to enable transaction for the cache where I use the versioned access?
  • Do I need to have locking enabled for the cache where I use versioned access?

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 6.x
    • 7.x

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