store method

  1. @override
Future store (String correlationId, String key, dynamic value, int timeout)

Stores value in the cache with expiration time.

  • correlationId (optional) transaction id to trace execution through call chain.
  • key a unique value key.
  • value a value to store.
  • timeout expiration timeout in milliseconds. Return Future that receives an 'OK' for success Throws error