log.info("writing " + tokenMap.size() + " TokenCounters across the cluster");
for (Entry<String, Integer> entry : tokenMap.entrySet()) {
String token = entry.getKey();
Integer counter = entry.getValue();
log.fine("writing new TokenCounter: token=" + token + ", counter=" + counter);
clusteredGigaSpace.write(new TokenCounter(token, counter), LEASE_TTL, WRITE_TIMEOUT, WriteModifiers.UPDATE_OR_WRITE);
}
}