retrieve method

Future retrieve (String correlationId String key)

Retrieves cached value from the cache using its key. If value is missing in the cache or expired it returns null.

  • correlationId (optional) transaction id to trace execution through call chain.
  • key a unique value key. Return Future that receives cached value Throws error.