}
<BUG>public static Config newConfig() {
</BUG>
Config config = new Config();
<BUG>if (!LICENSE_KEY.isEmpty()) {
config.setLicenseKey(LICENSE_KEY);

}</BUG>
return config;
}

}
for (int i = 0; i < 1000; i++) {
map.get("key-" + i);
}
long ownedEntryCount = map.getLocalMapStats().getNearCacheStats().getOwnedEntryCount();
System.out.println("Near cache includes " + ownedEntryCount + " entries");
client.shutdown();
server.shutdown();
}
private static Config newConfig() {
Config config = new Config();
config.setLicenseKey(ENTERPRISE_LICENSE_KEY);
return config;
}
