setValue method

void setValue (dynamic value, int timeout)

Sets a new value and extends its expiration.

  • value a new cached value.
  • timeout a expiration timeout in milliseconds.