A hash set of CacheableKey
objects that also extends SharedBase
for smart pointers.
More...
Inherits apache::geode::client::HashSetT< TKEY >, and apache::geode::client::SharedBase.
A hash set of CacheableKey
objects that also extends SharedBase
for smart pointers.
◆ Iterator
Iterator class for the hash set.
◆ HashSetOfCacheableKey() [1/3]
apache::geode::client::HashSetOfCacheableKey::HashSetOfCacheableKey |
( |
| ) |
|
|
inline |
◆ HashSetOfCacheableKey() [2/3]
apache::geode::client::HashSetOfCacheableKey::HashSetOfCacheableKey |
( |
int32_t |
n | ) |
|
|
inline |
Creates an empty hash set with at least n buckets.
◆ HashSetOfCacheableKey() [3/3]
apache::geode::client::HashSetOfCacheableKey::HashSetOfCacheableKey |
( |
const HashSetOfCacheableKey & |
other | ) |
|
|
inline |
◆ begin()
Get an iterator pointing to the start of hash_set.
◆ bucket_count()
Returns the number of buckets used by the hash set.
◆ clear()
Erases all of the elements.
◆ contains()
Check if a given key k exists in the hash set.
◆ count()
Counts the number of elements whose key is k.
◆ empty()
true if the hash set's size is 0.
◆ end()
Get an iterator pointing to the end of hash_set.
◆ erase()
Erases the element whose key is k.
◆ insert()
Inserts the key k into the hash set, when k does not exist in the hash set.
◆ max_size()
Returns the largest possible size of the hash set.
◆ 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()
Increases the bucket count to at least n.
◆ size()
Returns the size of the hash set.
◆ swap()
Swaps the contents of two hash sets.