Class CacheKeyService


  • @Component
    @RefreshScope
    public class CacheKeyService
    extends Object
    • Constructor Detail

      • CacheKeyService

        public CacheKeyService()
    • Method Detail

      • getClock

        protected Clock getClock()
        Returns:
        a clock that returns the current instant using the best available system clock, converting to date and time using the UTC time-zone.
      • initCurrentCacheKey

        @PostConstruct
        public void initCurrentCacheKey()
      • getCacheKey

        public String getCacheKey()