Polish Javadoc for condition annotation attributes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Annotation indicating that a method (or all methods on a class) trigger(s)
|
||||
* a cache invalidate operation.
|
||||
* a cache eviction operation.
|
||||
*
|
||||
* @author Costin Leau
|
||||
* @author Stephane Nicoll
|
||||
@@ -73,8 +73,9 @@ public @interface CacheEvict {
|
||||
String cacheResolver() default "";
|
||||
|
||||
/**
|
||||
* Spring Expression Language (SpEL) attribute used for conditioning the method caching.
|
||||
* <p>Default is "", meaning the method is always cached.
|
||||
* Spring Expression Language (SpEL) attribute used for making the cache
|
||||
* eviction operation conditional.
|
||||
* <p>Default is "", meaning the cache eviction is always performed.
|
||||
*/
|
||||
String condition() default "";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -78,7 +78,8 @@ public @interface CachePut {
|
||||
String cacheResolver() default "";
|
||||
|
||||
/**
|
||||
* Spring Expression Language (SpEL) attribute used for conditioning the cache update.
|
||||
* Spring Expression Language (SpEL) attribute used for making the cache
|
||||
* put operation conditional.
|
||||
* <p>Default is "", meaning the method result is always cached.
|
||||
*/
|
||||
String condition() default "";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -34,7 +34,7 @@ import java.lang.annotation.Target;
|
||||
* can replace the default one ({@link #keyGenerator()}).
|
||||
*
|
||||
* <p>If no value is found in the cache for the computed key, the method is executed
|
||||
* and the returned instance is used as the cache value.
|
||||
* and the returned value is used as the cache value.
|
||||
*
|
||||
* @author Costin Leau
|
||||
* @author Phillip Webb
|
||||
@@ -83,8 +83,9 @@ public @interface Cacheable {
|
||||
String cacheResolver() default "";
|
||||
|
||||
/**
|
||||
* Spring Expression Language (SpEL) attribute used for conditioning the method caching.
|
||||
* <p>Default is "", meaning the method is always cached.
|
||||
* Spring Expression Language (SpEL) attribute used for making the method
|
||||
* caching conditional.
|
||||
* <p>Default is "", meaning the method result is always cached.
|
||||
*/
|
||||
String condition() default "";
|
||||
|
||||
|
||||
@@ -55,7 +55,8 @@ import org.springframework.context.ApplicationEvent;
|
||||
public @interface EventListener {
|
||||
|
||||
/**
|
||||
* Spring Expression Language (SpEL) attribute used for conditioning the event handling.
|
||||
* Spring Expression Language (SpEL) attribute used for making the event
|
||||
* handling conditional.
|
||||
* <p>Default is "", meaning the event is always handled.
|
||||
*/
|
||||
String condition() default "";
|
||||
|
||||
Reference in New Issue
Block a user