@Override
    public void clean() {
        ticketCache.ifAvailable(Cache::invalidateAll);
        messagePublisher.ifAvailable(RedisTicketRegistryMessagePublisher::deleteAll);
    }
Key-value ticket registry implementation that stores tickets in redis.

@author Misagh Moayyed
@author Jerome Leleu
@since 5.1.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/RedisTicketRegistry.java