Class CacheKeyService

java.lang.Object
com.aquima.web.config.CacheKeyService

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

    • CacheKeyService

      public CacheKeyService()
  • Method Details

    • 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()