cacheKeyExclude

final class cacheKeyExclude extends StaticAnnotation

Add this annotation to method or class constructor parameters in order to exclude them from auto-generated cache keys.

e.g.

def foo(a: Int, @cacheKeyExclude b: String, c: String): Int = memoize { ... }

will not include the value of the b parameter in its cache keys.

trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any