code: public static void removeWeakCounter(Cache<WeakCounterKey, CounterValue> cache, CounterConfiguration configuration,
           String counterName) {
        ByteString counterNameByteString = ByteString.fromString(counterName);
        for (int i = 0; i < configuration.concurrencyLevel(); ++i) {
           cache.remove(new WeakCounterKey(counterNameByteString, i));
        }
     }
docs: It removes a weak counter from the {@code cache}, identified by the {@code counterName}.
  
  @param cache         The {@link Cache} to remove the counter from.
  @param configuration The counter's configuration.
  @param counterName   The counter's name.