com.supermap.data.processing.cache

类 CacheCheck



  • public class CacheCheck
    extends Object
    • 构造器详细资料

      • CacheCheck

        public CacheCheck()
    • 方法详细资料

      • main

        public static void main(String[] args)
        检测缓存是否正确类
        参数:
        args -
      • initalize

        public void initalize(String cacheRoot,
                              ArrayList<String> sciFiles,
                              int processcount,
                              int mergeTaskCount,
                              boolean error2udb,
                              boolean checkSolid,
                              boolean checkBlock,
                              String checkType,
                              String boundaryRegion)
      • check

        public void check(String cacheRoot,
                          String sciFile)
      • checkOriginalCache

        public boolean checkOriginalCache(String cacheRoot,
                                          String caption,
                                          int left,
                                          int top,
                                          int right,
                                          int bottom,
                                          double reolustion,
                                          CacheWriter cacheFile)
      • checkCompactCache

        public boolean checkCompactCache(String cacheRoot,
                                         String caption,
                                         int left,
                                         int top,
                                         int right,
                                         int bottom,
                                         double reolustion,
                                         CacheWriter cacheFile)
      • checkMongoCache

        public boolean checkMongoCache(TileStorageManager manager,
                                       int level,
                                       int left,
                                       int top,
                                       int right,
                                       int bottom,
                                       double reolustion,
                                       CacheWriter cacheFile)
      • getReolustion

        public double getReolustion(double scale,
                                    PrjCoordSys prjCoordSys,
                                    double cacheDPI)
      • isSolidWhite

        public boolean isSolidWhite(BufferedImage image)
      • isBlockWhite

        public boolean isBlockWhite(BufferedImage image)
      • isSolidAlpha

        public boolean isSolidAlpha(BufferedImage image)
      • isBlockAlpha

        public boolean isBlockAlpha(BufferedImage image)

Copyright © 2021–2024 SuperMap. All rights reserved.