@Override
    public void cleanInternal() {
        lock.tryLock(__ -> {
            LOGGER.trace("Beginning to clean up the cache storage to remove expiring tokens");
            storage.cleanUp();
            LOGGER.debug("Estimated total of [{}] token(s) cached and may be removed in future iterations", storage.estimatedSize());
        });
    }
This is {@link CachingOneTimeTokenRepository}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-otp-mfa-core/src/main/java/org/apereo/cas/otp/repository/token/CachingOneTimeTokenRepository.java