Skip to content

Commit 433d2ed

Browse files
committed
javadoc
1 parent a453af5 commit 433d2ed

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

txlcn-common/src/main/java/com/codingapi/txlcn/common/util/id/SnowFlakeGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ private SnowFlakeGenerator(int idcBitNum, int machineBitNum, long idcId, long ma
125125

126126
/**
127127
* 产生下一个ID
128+
* @return id
128129
*/
129130
public synchronized long nextId() {
130131
long currentStamp = getTimeMill();

txlcn-logger/src/main/java/com/codingapi/txlcn/logger/TxLogger.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public interface TxLogger {
3333
* @param unitId unitId
3434
* @param tag tag
3535
* @param content content
36+
* @param args args
3637
*/
3738
void trace(String groupId, String unitId, String tag, String content, Object... args);
3839

@@ -59,6 +60,7 @@ default void taskInfo(String groupId, String unitId, String content, Object... a
5960
* @param unitId unitId
6061
* @param tag tag
6162
* @param content content
63+
* @param args args
6264
*/
6365
default void info(String groupId, String unitId, String tag, String content, Object... args) {
6466
trace(groupId, unitId, tag, content, args);

txlcn-tm/src/main/java/com/codingapi/txlcn/tm/core/storage/FastStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public interface FastStorage {
178178
* @param machineId
179179
* @param machineMaxSize 限制大小
180180
* @param timeout 超时删除
181-
* @return
182-
* @throws FastStorageException
181+
* @return MachineID
182+
* @throws FastStorageException FastStorageException
183183
*/
184184
int acquireOrRefreshMachineId(int machineId, long machineMaxSize, long timeout) throws FastStorageException;
185185
}

txlcn-txmsg/src/main/java/com/codingapi/txlcn/txmsg/listener/ClientInitCallBack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface ClientInitCallBack {
3535
/**
3636
* 连接失败回调
3737
*
38-
* @param remoteKey
38+
* @param remoteKey 远程调用唯一key
3939
*/
4040
void connectFail(String remoteKey);
4141
}

0 commit comments

Comments
 (0)