feat support Fork annotation

This commit is contained in:
CaiHQ 2023-08-23 16:26:47 +08:00
parent ac62f7bbf7
commit 35e39f3dd9
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,6 @@
package org.bdware.sc.compiler.ap;
import org.bdware.sc.bean.ForkInfo;
import org.bdware.sc.bean.RouteInfo;
import org.bdware.sc.compiler.AnnotationProcessor;
import org.bdware.sc.node.AnnotationNode;
import org.bdware.sc.node.ContractNode;

View File

@ -98,7 +98,8 @@ public class DoipClusterServer extends DoipServerImpl {
// 维护RouteInfo将RouteInfo和doipOperationName的映射关系以及所有Router中用得到的函数都维护好
// TODO 移除这部分逻辑
cn.maintainRouteJoinInfo(methodRouteInfoMap, methodJoinInfoMap, methodForkInfoMap, functions);
cn.maintainRouteJoinInfo(methodRouteInfoMap, methodJoinInfoMap, methodForkInfoMap,
functions);
if (clusterInfo != null)
repoHandleValues.add("clusterInfo", clusterInfo);
if (functions.size() > 0)

View File

@ -7,12 +7,12 @@ public class DataBaseProcess {
private static RocksDBUtil db;
public static void main(String[] args) {
db = RocksDBUtil.loadDB("abc",false);
db = RocksDBUtil.loadDB("abc", false);
RocksIterator iter = db.newIterator();
iter.seekToFirst();;
for (;iter.isValid();){
db.getNext(iter);
}
for (; iter.isValid();) {
db.getNext(iter);
}
// long timeJava;
// try {
// // start a process before