Skip to content

Commit 66f731d

Browse files
committed
javadoc
1 parent 1e835d3 commit 66f731d

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

tx-spi-message-netty/src/main/java/com/codingapi/txlcn/spi/message/netty/bean/RpcCmdContext.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ private RpcCmdContext() {
8383
/**
8484
* 并发可能会出现脏读
8585
*
86-
* @param key
87-
* @return
86+
* @param key key
87+
* @return hasKey
8888
*/
8989
public synchronized boolean hasKey(String key) {
9090
return map.containsKey(key);
@@ -93,8 +93,8 @@ public synchronized boolean hasKey(String key) {
9393
/**
9494
* 并发可能会出重复添加
9595
*
96-
* @param key
97-
* @return
96+
* @param key key
97+
* @return RpcContent
9898
*/
9999
public synchronized RpcContent addKey(String key) {
100100
RpcContent rpcContent = createRpcContent();
@@ -106,7 +106,7 @@ public synchronized RpcContent addKey(String key) {
106106
/**
107107
* 空闲队列处理
108108
*
109-
* @return
109+
* @return RpcContent
110110
*/
111111
private RpcContent findRpcContent() {
112112
synchronized (freeList) {

tx-spi-message-netty/src/main/java/com/codingapi/txlcn/spi/message/netty/loadbalance/RandomLoadBalance.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
/**
2626
* @author lorne
27-
* @date 2019/1/5
28-
* @description
2927
*/
3028
public class RandomLoadBalance implements RpcLoadBalance {
3129

0 commit comments

Comments
 (0)