Home
last modified time | relevance | path

Searched refs:concurrencyLevel (Results 1 – 2 of 2) sorted by relevance

/external/guava/src/com/google/common/collect/
DCustomConcurrentHashMap.java146 int concurrencyLevel = UNSET_CONCURRENCY_LEVEL; field in CustomConcurrentHashMap.Builder
184 public Builder concurrencyLevel(int concurrencyLevel) { in concurrencyLevel() method in CustomConcurrentHashMap.Builder
185 if (this.concurrencyLevel != UNSET_CONCURRENCY_LEVEL) { in concurrencyLevel()
187 "concurrency level was already set to " + this.concurrencyLevel); in concurrencyLevel()
189 if (concurrencyLevel <= 0) { in concurrencyLevel()
192 this.concurrencyLevel = concurrencyLevel; in concurrencyLevel()
270 return (concurrencyLevel == UNSET_CONCURRENCY_LEVEL) in getConcurrencyLevel()
271 ? DEFAULT_CONCURRENCY_LEVEL : concurrencyLevel; in getConcurrencyLevel()
596 int concurrencyLevel = builder.getConcurrencyLevel(); in Impl() local
599 if (concurrencyLevel > MAX_SEGMENTS) { in Impl()
[all …]
DMapMaker.java146 public MapMaker concurrencyLevel(int concurrencyLevel) { in concurrencyLevel() method in MapMaker
147 builder.concurrencyLevel(concurrencyLevel); in concurrencyLevel()