@Warmup(global = false) public void warmup() { waitClusterSize(LOGGER, hazelcastInstance, minNumberOfMembers); keys = generateStringKeys(keyCount, keyLength, keyLocality, hazelcastInstance); values = generateStrings(valueCount, valueLength); Random random = new Random(); for (String key : keys) { String value = values[random.nextInt(valueCount)]; map.put(key, value); } }
@Teardown public void tearDown() { map.destroy(); LOGGER.info(getOperationCountInformation(hazelcastInstance)); }