com.supermap.data.processing.cache
类 MultiProcessCacheBuilder
- java.lang.Object
-
- com.supermap.data.processing.cache.MultiProcessCacheBuilder
-
public class MultiProcessCacheBuilder extends Object
-
-
构造器概要
构造器 构造器和说明 MultiProcessCacheBuilder()
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static voidmain(String[] args)启用多进程进行测试.static voidRun(String workspaceFile, String mapName, String sciFiles, String targetRoot)static voidRunAllCurrentProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot)static voidRunAllMultiProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot, int processCount, int mergeCount)static voidRunBySubProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot, int processCount, int mergeCount)
-
-
-
方法详细资料
-
main
public static void main(String[] args) throws Exception
启用多进程进行测试. TODO: 能够使用多进程切图- 参数:
args-- 抛出:
IOExceptionFileNotFoundExceptionException
-
RunBySubProc
public static void RunBySubProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot, int processCount, int mergeCount) throws Exception
- 抛出:
Exception
-
RunAllMultiProc
public static void RunAllMultiProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot, int processCount, int mergeCount) throws Exception
- 抛出:
Exception
-
RunAllCurrentProc
public static void RunAllCurrentProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot)
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.