mirror of
				https://gitee.com/BDWare/cp.git
				synced 2025-06-12 10:44:02 +00:00 
			
		
		
		
	feat support Fork annotation
This commit is contained in:
		
							parent
							
								
									ac62f7bbf7
								
							
						
					
					
						commit
						35e39f3dd9
					
				| @ -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; | ||||
|  | ||||
| @ -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) | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user