Package com.couchbase.client.core.io
Class CollectionMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<CollectionIdentifier,byte[]>
-
- com.couchbase.client.core.io.CollectionMap
-
- All Implemented Interfaces:
Serializable
,ConcurrentMap<CollectionIdentifier,byte[]>
,Map<CollectionIdentifier,byte[]>
public class CollectionMap extends ConcurrentHashMap<CollectionIdentifier,byte[]>
TheCollectionMap
maps a locator to the encoded collection ID representation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description CollectionMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasBucketMap(String bucket)
Checks if the given bucket is at all present in the map.-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, 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, toString, values
-
Methods inherited from class java.util.AbstractMap
clone
-
-
-
-
Method Detail
-
hasBucketMap
public boolean hasBucketMap(String bucket)
Checks if the given bucket is at all present in the map.- Parameters:
bucket
- the bucket name to check- Returns:
- true if so, false otherwise.
-
-