com.hazelcast.core.IMap.destroy()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(153)

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

IMap.destroy介绍

暂无

代码示例

代码示例来源:origin: hazelcast/hazelcast-jet

@Override
  public void destroy() {
    map.destroy();
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
    resultsPerWorker.destroy();
  }
}

代码示例来源:origin: com.hazelcast.stabilizer/stabilizer

@Teardown
public void teardown() throws Exception {
  map.destroy();
  resultsPerWorker.destroy();
}

代码示例来源:origin: com.hazelcast.stabilizer/stabilizer

@Teardown
public void teardown() throws Exception {
  map.destroy();
  resultsPerWorker.destroy();
}

代码示例来源:origin: com.hazelcast.stabilizer/stabilizer

@Teardown
public void teardown() throws Exception {
  map.destroy();
  resultsPerWorker.destroy();
}

代码示例来源:origin: com.hazelcast.stabilizer/stabilizer

@Teardown(global = true)
public void tearDown() throws Exception {
  IMap map = targetInstance.getMap(basename);
  map.destroy();
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-hz36

@TimeStep(prob = 0.2)
public void destroy(BaseThreadState state) {
  map.destroy();
  count.destroyCount.incrementAndGet();
}

代码示例来源:origin: com.hazelcast.simulator/tests-hz36

@Teardown
  public void tearDown() {
    map.destroy();
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@TimeStep(prob = 0.2)
public void destroy(ThreadState state) {
  map.destroy();
  count.destroyCount.incrementAndGet();
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
  }
}

代码示例来源:origin: mokies/ratelimitj

@Override
public boolean resetLimit(String key) {
  IMap<Object, Object> map = hz.getMap(key);
  if (map == null || map.isEmpty()) {
    return false;
  }
  map.clear();
  map.destroy();
  return true;
}

代码示例来源:origin: hazelcast/hazelcast-jet

/**
 * Delete all snapshots for a given job.
 */
private void destroySnapshotDataMaps(long jobId) {
  instance.getMap(snapshotDataMapName(jobId, 0)).destroy();
  instance.getMap(snapshotDataMapName(jobId, 1)).destroy();
  logFine(logger, "Destroyed both snapshot maps for job %s", idToString(jobId));
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
    resultsPerWorker.destroy();
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
public void teardown() {
  map.destroy();
  logger.info(getOperationCountInformation(targetInstance));
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    logger.info("======== TEAR DOWN =========");
    map.destroy();
    logger.info("======== THE END =========");
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
    logger.info(getOperationCountInformation(targetInstance));
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown
  public void tearDown() {
    map.destroy();
    logger.info(getOperationCountInformation(targetInstance));
  }
}

代码示例来源:origin: com.hazelcast.simulator/tests-common

@Teardown(global = true)
public void teardown() {
  for (CardinalityEstimator estimator : estimators) {
    estimator.destroy();
  }
  expectedCountMap.destroy();
  totalThreadCount.destroy();
  threadIdGenerator.destroy();
}

相关文章