javax.media.jai.JAI.setTileCache()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中javax.media.jai.JAI.setTileCache()方法的一些代码示例,展示了JAI.setTileCache()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JAI.setTileCache()方法的具体详情如下:
包路径:javax.media.jai.JAI
类名称:JAI
方法名:setTileCache

JAI.setTileCache介绍

暂无

代码示例

代码示例来源:origin: geoserver/geoserver

jaiDef.setTileCache(new ConcurrentTileCacheMultiMap());

代码示例来源:origin: bcdev/beam

@Override
protected void tearDown() throws Exception {
  testTileCache.flush();
  JAI.getDefaultInstance().setTileCache(jaiTileCache);
  final OperatorSpiRegistry spiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry();
  spiRegistry.removeOperatorSpi(spi1);
  spiRegistry.removeOperatorSpi(spi2);
  spiRegistry.removeOperatorSpi(spi3);
}

代码示例来源:origin: bcdev/beam

@Override
protected void tearDown() throws Exception {
  testTileCache.flush();
  JAI.getDefaultInstance().setTileCache(jaiTileCache);
  final OperatorSpiRegistry spiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry();
  spiRegistry.removeOperatorSpi(spi1);
  spiRegistry.removeOperatorSpi(spi2);
  spiRegistry.removeOperatorSpi(spi3);
}

代码示例来源:origin: geosolutions-it/jai-ext

sunCache.enableDiagnostics();
  JAI.getDefaultInstance().setTileCache(sunCache);
  break;
case CONCURRENT_TILE_CACHE:
    cTileCache.enableDiagnostics();
  JAI.getDefaultInstance().setTileCache(cTileCache);
  break;
case CONCURRENT_MULTIMAP_TILE_CACHE:
    cmTileCache.enableDiagnostics();
  JAI.getDefaultInstance().setTileCache(cmTileCache);
  break;

代码示例来源:origin: bcdev/beam

@Override
protected void setUp() throws Exception {
  jaiTileCache = JAI.getDefaultInstance().getTileCache();
  testTileCache = new VerbousTileCache(jaiTileCache);
  JAI.getDefaultInstance().setTileCache(testTileCache);
  testTileCache.flush();
  TestOps.clearCalls();
  spi1 = new TestOps.Op1.Spi();
  spi2 = new TestOps.Op2.Spi();
  spi3 = new TestOps.Op3.Spi();
  final OperatorSpiRegistry registry = GPF.getDefaultInstance().getOperatorSpiRegistry();
  registry.addOperatorSpi(spi1);
  registry.addOperatorSpi(spi2);
  registry.addOperatorSpi(spi3);
}

代码示例来源:origin: bcdev/beam

@Override
protected void setUp() throws Exception {
  jaiTileCache = JAI.getDefaultInstance().getTileCache();
  testTileCache = new VerbousTileCache(jaiTileCache);
  JAI.getDefaultInstance().setTileCache(testTileCache);
  testTileCache.flush();
  TestOps.clearCalls();
  spi1 = new TestOps.Op1.Spi();
  spi2 = new TestOps.Op2.Spi();
  spi3 = new TestOps.Op3.Spi();
  final OperatorSpiRegistry registry = GPF.getDefaultInstance().getOperatorSpiRegistry();
  registry.addOperatorSpi(spi1);
  registry.addOperatorSpi(spi2);
  registry.addOperatorSpi(spi3);
}

相关文章