Searched refs:shardsByKey (Results 1 – 1 of 1) sorted by relevance
137 private final Map<Key, ComponentImplementation> shardsByKey = new HashMap<>(); field in ComponentImplementation211 if (!shardsByKey.containsKey(key)) { in shardImplementation()213 if (!shardsByKey.isEmpty() && shardsByKey.size() % keysPerShard == 0) { in shardImplementation()214 ClassName shardName = name.nestedClass("Shard" + shardsByKey.size() / keysPerShard); in shardImplementation()217 shardsByKey.put(key, currentShard); in shardImplementation()219 return shardsByKey.get(key); in shardImplementation()