setResult(result) {
        this.lastChecked = Date.now();
        this.result = result;
    }
Updates the cache with a new result and timestamp.
@param {object} result - The result to cache.
@returns {undefined}