A map of CacheableKey
objects to Exception
that also extends SharedBase
for smart pointers.
More...
Inherits apache::geode::client::HashMapT< TKEY, TVAL >, and apache::geode::client::SharedBase.
|
typedef _HashMapOfException::Iterator | Iterator |
| Iterator class for the hash map. More...
|
|
A map of CacheableKey
objects to Exception
that also extends SharedBase
for smart pointers.
◆ Iterator
Iterator class for the hash map.
◆ HashMapOfException() [1/3]
apache::geode::client::HashMapOfException::HashMapOfException |
( |
| ) |
|
|
inline |
Creates an empty hash map.
◆ HashMapOfException() [2/3]
apache::geode::client::HashMapOfException::HashMapOfException |
( |
int32_t |
n | ) |
|
|
inline |
Creates an empty hash map with at least n buckets.
◆ HashMapOfException() [3/3]
apache::geode::client::HashMapOfException::HashMapOfException |
( |
const HashMapOfException & |
other | ) |
|
|
inline |
◆ begin()
template<typename TKEY, typename TVAL>
Get an iterator pointing to the start of hash_map.
◆ bucket_count()
template<typename TKEY, typename TVAL>
Returns the number of buckets used by the hash map.
◆ clear()
template<typename TKEY, typename TVAL>
Erases all of the elements.
◆ contains()
template<typename TKEY, typename TVAL>
Check if a given key k exists in the hash map.
◆ count()
template<typename TKEY, typename TVAL>
Counts the number of elements whose key is k.
◆ empty()
template<typename TKEY, typename TVAL>
true if the hash map's size is 0.
◆ end()
template<typename TKEY, typename TVAL>
Get an iterator pointing to the end of hash_map.
◆ erase()
template<typename TKEY, typename TVAL>
Erases the element whose key is k.
◆ find()
template<typename TKEY, typename TVAL>
Finds an element whose key is k.
◆ insert()
template<typename TKEY, typename TVAL>
Inserts the <k, v> pair into the hash map, when k does not exist in the hash map.
◆ max_size()
template<typename TKEY, typename TVAL>
Returns the largest possible size of the hash map.
◆ operator[]()
template<typename TKEY, typename TVAL>
Returns a copy of the object that is associated with a particular key.
◆ preserveSB()
void apache::geode::client::SharedBase::preserveSB |
( |
| ) |
const |
|
inherited |
Atomically increment reference count.
◆ refCount()
int32_t apache::geode::client::SharedBase::refCount |
( |
| ) |
|
|
inlineinherited |
- Returns
- the reference count
◆ releaseSB()
void apache::geode::client::SharedBase::releaseSB |
( |
| ) |
const |
|
inherited |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.
◆ resize()
template<typename TKEY, typename TVAL>
Increases the bucket count to at least n.
◆ size()
template<typename TKEY, typename TVAL>
Returns the size of the hash map.
◆ swap()
template<typename TKEY, typename TVAL>
Swaps the contents of two hash maps.
◆ update()
template<typename TKEY, typename TVAL>
Updates a value whose key must exist.