public boolean setExpiration(final long expirationMs) {
        return expiration.getAndSet(expirationMs) != expirationMs;
    }
Sets expiration.

@param expirationMs the expiration ms
@return the expiration
shenyu-common/src/main/java/org/apache/shenyu/common/timer/TimerTaskList.java