public void update(long currentTimeMs) {
        this.currentTimeMs = Math.max(currentTimeMs, this.currentTimeMs);
    }
Update the cached current time to a specific value. In some contexts, the caller may already
have an accurate time, so this avoids unnecessary calls to system time.
<p>
Note that if the updated current time is smaller than the cached time, then the update
is ignored.

@param currentTimeMs The current time in milliseconds to cache
clients/src/main/java/org/apache/kafka/common/utils/Timer.java