com.supermap.data.processing.cache
类 MultiProcessCacheBuilder
- java.lang.Object
-
- com.supermap.data.processing.cache.MultiProcessCacheBuilder
-
public class MultiProcessCacheBuilder extends Object
-
-
构造器概要
构造器 构造器和说明 MultiProcessCacheBuilder()
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static void
main(String[] args)
启用多进程进行测试.static void
Run(String workspaceFile, String mapName, String sciFiles, String targetRoot)
static void
RunAllCurrentProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot)
static void
RunAllMultiProc(List<String> allTasks, String sciFolder, String workspaceFile, String mapName, String cacheRoot, int processCount, int mergeCount)
static void
RunBySubProc(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
-- 抛出:
IOException
FileNotFoundException
Exception
-
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–2024 SuperMap. All rights reserved.