Annotation Type CacheKeyEviction


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Inherited
    @Documented
    public @interface CacheKeyEviction
    When used in conjunction with @CacheEvict, this will tell our custom OpeniamCacheInterceptor to purge multiple caches When a @CacheEvict takes place
    Author:
    Lev Bornovalov
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      CacheKeyEvict[] evictions  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int parameterIndex  
      • parameterIndex

        int parameterIndex
        Default:
        0