Results 1 to 2 of 2

Thread: @Cacheable - cache expire

  1. #1
    Join Date
    Jan 2012
    Location
    Cluj-Napoca, Romania
    Posts
    1

    Question @Cacheable - cache expire

    Hello,

    I'm using redis as distributed cache support, does anyone know if there's a way to specify the expiration for a cache so that a key from that cache is removed after the specified interval?

    Thanks,
    Alex.

  2. #2

    Default

    When using ehcache and @Cacheable, you setup the TTL in the ehcache region configuration, so I assume this will be the similar for redis.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •