Skip to content

Commit

Permalink
javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
xlorne committed Feb 3, 2019
1 parent a453af5 commit 433d2ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ private SnowFlakeGenerator(int idcBitNum, int machineBitNum, long idcId, long ma

/**
* 产生下一个ID
* @return id
*/
public synchronized long nextId() {
long currentStamp = getTimeMill();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public interface TxLogger {
* @param unitId unitId
* @param tag tag
* @param content content
* @param args args
*/
void trace(String groupId, String unitId, String tag, String content, Object... args);

Expand All @@ -59,6 +60,7 @@ default void taskInfo(String groupId, String unitId, String content, Object... a
* @param unitId unitId
* @param tag tag
* @param content content
* @param args args
*/
default void info(String groupId, String unitId, String tag, String content, Object... args) {
trace(groupId, unitId, tag, content, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ public interface FastStorage {
* @param machineId
* @param machineMaxSize 限制大小
* @param timeout 超时删除
* @return
* @throws FastStorageException
* @return MachineID
* @throws FastStorageException FastStorageException
*/
int acquireOrRefreshMachineId(int machineId, long machineMaxSize, long timeout) throws FastStorageException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface ClientInitCallBack {
/**
* 连接失败回调
*
* @param remoteKey
* @param remoteKey 远程调用唯一key
*/
void connectFail(String remoteKey);
}

0 comments on commit 433d2ed

Please sign in to comment.