File tree 1 file changed +5
-9
lines changed
src/main/java/org/springframework/data/keyvalue/annotation
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 29
29
* entity should reside in. If present the value will be picked up for resolving the keyspace. The {@link #value()}
30
30
* attribute supports SpEL expressions to dynamically resolve the keyspace based on a per-operation basis.
31
31
*
32
- * <pre>
33
- * <code>
32
+ * <pre class="code">
34
33
* @Persistent
35
34
* @Retention(RetentionPolicy.RUNTIME)
36
35
* @Target({ ElementType.TYPE })
37
36
* static @interface CacheCentricAnnotation {
38
37
*
39
- * @AliasFor(annotation = KeySpace.class, attribute = "value")
40
- * String cacheRegion() default "";
38
+ * @AliasFor(annotation = KeySpace.class, attribute = "value")
39
+ * String cacheRegion() default "";
41
40
* }
42
41
*
43
42
* @CacheCentricAnnotation(cacheRegion = "customers")
44
43
* class Customer {
45
- * // ...
44
+ * // ...
46
45
* }
47
- * </code>
48
46
* </pre>
49
47
*
50
48
* Can also be directly used on types to indicate the keyspace.
51
49
*
52
- * <pre>
53
- * <code>
50
+ * <pre class="code">
54
51
* @KeySpace("persons")
55
52
* public class Foo {
56
53
*
57
54
* }
58
- * </code>
59
55
* </pre>
60
56
*
61
57
* @author Christoph Strobl
You can’t perform that action at this time.
0 commit comments