N - public class LongContainer<N extends Number> extends ConcurrentHashMap<String,N>
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
LongContainer(MetricsKeyWrapper metricsKeyWrapper,
Supplier<N> initFunc,
BiConsumer<Long,N> consumerFunc) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
BiConsumer<Long,N> |
getConsumerFunc() |
Function<String,N> |
getInitFunc() |
MetricsKeyWrapper |
getMetricsKeyWrapper() |
Function<String,Long> |
getValueSupplier() |
int |
hashCode() |
boolean |
isKeyWrapper(MetricsKey metricsKey,
String registryOpType) |
void |
setValueSupplier(Function<String,Long> valueSupplier) |
boolean |
specifyType(String type) |
String |
toString() |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, valuespublic LongContainer(MetricsKeyWrapper metricsKeyWrapper, Supplier<N> initFunc, BiConsumer<Long,N> consumerFunc)
public boolean specifyType(String type)
public MetricsKeyWrapper getMetricsKeyWrapper()
public boolean isKeyWrapper(MetricsKey metricsKey, String registryOpType)
public BiConsumer<Long,N> getConsumerFunc()
public boolean equals(Object o)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.