Skip to content

Commit 112db7d

Browse files
committed
reactify-core docs
1 parent 7da1d79 commit 112db7d

File tree

104 files changed

+1658
-632
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+1658
-632
lines changed

reactify/src/main/java/io/hoangtien2k3/reactify/SpringCommonsApplication.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
import org.springframework.context.annotation.ImportResource;
2626

2727
/**
28-
* <p>SpringCommonsApplication class.</p>
28+
* <p>
29+
* SpringCommonsApplication class.
30+
* </p>
2931
*
3032
* @author hoangtien2k3
3133
*/
@@ -42,9 +44,12 @@
4244
public class SpringCommonsApplication {
4345

4446
/**
45-
* <p>main.</p>
47+
* <p>
48+
* main.
49+
* </p>
4650
*
47-
* @param args an array of {@link java.lang.String} objects
51+
* @param args
52+
* an array of {@link java.lang.String} objects
4853
*/
4954
public static void main(String[] args) {
5055
SpringApplication.run(SpringCommonsApplication.class, args);

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/LocalCache.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
/** @deprecated */
2424
/**
25-
* <p>LocalCache class.</p>
25+
* <p>
26+
* LocalCache class.
27+
* </p>
2628
*
2729
* @author hoangtien2k3
2830
*/

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/LogPerformance.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
import java.lang.annotation.Target;
2222

2323
/**
24-
* <p>LogPerformance class.</p>
24+
* <p>
25+
* LogPerformance class.
26+
* </p>
2527
*
2628
* @author hoangtien2k3
2729
*/

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/Loggable.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
import java.lang.annotation.Target;
2222

2323
/**
24-
* <p>Loggable class.</p>
24+
* <p>
25+
* Loggable class.
26+
* </p>
2527
*
2628
* @author hoangtien2k3
2729
*/

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/cache/CacheAspect.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131

3232
/** @deprecated */
3333
/**
34-
* <p>CacheAspect class.</p>
34+
* <p>
35+
* CacheAspect class.
36+
* </p>
3537
*
3638
* @author hoangtien2k3
3739
*/
@@ -44,11 +46,15 @@ public class CacheAspect {
4446
private void processAnnotation() {}
4547

4648
/**
47-
* <p>aroundAdvice.</p>
49+
* <p>
50+
* aroundAdvice.
51+
* </p>
4852
*
49-
* @param joinPoint a {@link org.aspectj.lang.ProceedingJoinPoint} object
53+
* @param joinPoint
54+
* a {@link org.aspectj.lang.ProceedingJoinPoint} object
5055
* @return a {@link java.lang.Object} object
51-
* @throws java.lang.Throwable if any.
56+
* @throws java.lang.Throwable
57+
* if any.
5258
*/
5359
@Around("processAnnotation()")
5460
public Object aroundAdvice(ProceedingJoinPoint joinPoint) throws Throwable {

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/cache/CacheStore.java

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535

3636
/** @deprecated */
3737
/**
38-
* <p>CacheStore class.</p>
38+
* <p>
39+
* CacheStore class.
40+
* </p>
3941
*
4042
* @author hoangtien2k3
4143
*/
@@ -87,19 +89,26 @@ private static void init() {
8789
}
8890

8991
/**
90-
* <p>getCache.</p>
92+
* <p>
93+
* getCache.
94+
* </p>
9195
*
92-
* @param key a {@link java.lang.String} object
96+
* @param key
97+
* a {@link java.lang.String} object
9398
* @return a {@link com.github.benmanes.caffeine.cache.Cache} object
9499
*/
95100
public static Cache getCache(String key) {
96101
return caches.get(key);
97102
}
98103

99104
/**
100-
* <p>autoLoad.</p>
105+
* <p>
106+
* autoLoad.
107+
* </p>
101108
*
102-
* @param event a {@link org.springframework.context.event.ContextRefreshedEvent} object
109+
* @param event
110+
* a {@link org.springframework.context.event.ContextRefreshedEvent}
111+
* object
103112
*/
104113
@Async
105114
@EventListener

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/cache/CacheUtils.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525
/** @deprecated */
2626
/**
27-
* <p>CacheUtils class.</p>
27+
* <p>
28+
* CacheUtils class.
29+
* </p>
2830
*
2931
* @author hoangtien2k3
3032
*/
@@ -35,9 +37,12 @@
3537
public class CacheUtils {
3638

3739
/**
38-
* <p>invokeMethod.</p>
40+
* <p>
41+
* invokeMethod.
42+
* </p>
3943
*
40-
* @param method a {@link java.lang.reflect.Method} object
44+
* @param method
45+
* a {@link java.lang.reflect.Method} object
4146
*/
4247
public static void invokeMethod(Method method) {
4348
try {

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/cache/CustomizeRemovalListener.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525

2626
/** @deprecated */
2727
/**
28-
* <p>CustomizeRemovalListener class.</p>
28+
* <p>
29+
* CustomizeRemovalListener class.
30+
* </p>
2931
*
3032
* @author hoangtien2k3
3133
*/

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/logging/LoggerAspect.java

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
import org.springframework.context.annotation.Configuration;
2424

2525
/**
26-
* <p>LoggerAspect class.</p>
26+
* <p>
27+
* LoggerAspect class.
28+
* </p>
2729
*
2830
* @author hoangtien2k3
2931
*/
@@ -34,7 +36,9 @@ public class LoggerAspect {
3436
private final LoggerAspectUtils loggerAspectUtils;
3537

3638
/**
37-
* <p>performancePointCut.</p>
39+
* <p>
40+
* performancePointCut.
41+
* </p>
3842
*/
3943
@Pointcut("(execution(* io.hoangtien2k3.reactify.*.controller..*(..)) || "
4044
+ "execution(* io.hoangtien2k3.reactify.*.service..*(..)) || "
@@ -47,11 +51,15 @@ public void performancePointCut() {}
4751
private void logPerfMethods() {}
4852

4953
/**
50-
* <p>logAround.</p>
54+
* <p>
55+
* logAround.
56+
* </p>
5157
*
52-
* @param joinPoint a {@link org.aspectj.lang.ProceedingJoinPoint} object
58+
* @param joinPoint
59+
* a {@link org.aspectj.lang.ProceedingJoinPoint} object
5360
* @return a {@link java.lang.Object} object
54-
* @throws java.lang.Throwable if any.
61+
* @throws java.lang.Throwable
62+
* if any.
5563
*/
5664
@Around("performancePointCut() || logPerfMethods()")
5765
public Object logAround(ProceedingJoinPoint joinPoint) throws Throwable {

reactify/src/main/java/io/hoangtien2k3/reactify/annotations/logging/LoggerAspectUtils.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
import reactor.util.context.Context;
3636

3737
/**
38-
* <p>LoggerAspectUtils class.</p>
38+
* <p>
39+
* LoggerAspectUtils class.
40+
* </p>
3941
*
4042
* @author hoangtien2k3
4143
*/
@@ -55,11 +57,15 @@ public class LoggerAspectUtils {
5557
private void init() {}
5658

5759
/**
58-
* <p>logAround.</p>
60+
* <p>
61+
* logAround.
62+
* </p>
5963
*
60-
* @param joinPoint a {@link org.aspectj.lang.ProceedingJoinPoint} object
64+
* @param joinPoint
65+
* a {@link org.aspectj.lang.ProceedingJoinPoint} object
6166
* @return a {@link java.lang.Object} object
62-
* @throws java.lang.Throwable if any.
67+
* @throws java.lang.Throwable
68+
* if any.
6369
*/
6470
public Object logAround(ProceedingJoinPoint joinPoint) throws Throwable {
6571
MethodSignature signature = (MethodSignature) joinPoint.getSignature();

0 commit comments

Comments
 (0)