iterates local store_table More...
Public Member Functions | |
void | next (void(callback)(void *cbdata), void *cbdata) override |
bool | next () override |
bool | error () const override |
bool | isDone () const override |
StoreEntry * | currentItem () override |
Private Member Functions | |
CBDATA_CLASS (LocalSearch) | |
void | copyBucket () |
Private Attributes | |
bool | _done = false |
int | bucket = 0 |
std::vector< StoreEntry * > | entries |
Detailed Description
Definition at line 20 of file LocalSearch.cc.
Member Function Documentation
◆ CBDATA_CLASS()
|
private |
◆ copyBucket()
|
private |
Definition at line 90 of file LocalSearch.cc.
References assert, debugs, hash_get_bucket(), hash_link::next, and store_table.
◆ currentItem()
|
overridevirtual |
Implements StoreSearch.
Definition at line 81 of file LocalSearch.cc.
◆ error()
|
overridevirtual |
Implements StoreSearch.
Definition at line 69 of file LocalSearch.cc.
◆ isDone()
|
overridevirtual |
Implements StoreSearch.
Definition at line 75 of file LocalSearch.cc.
References store_hash_buckets.
◆ next() [1/2]
|
overridevirtual |
Implements StoreSearch.
Definition at line 57 of file LocalSearch.cc.
◆ next() [2/2]
|
overridevirtual |
Implements StoreSearch.
Member Data Documentation
◆ _done
|
private |
Definition at line 34 of file LocalSearch.cc.
◆ bucket
|
private |
Definition at line 35 of file LocalSearch.cc.
◆ entries
|
private |
Definition at line 36 of file LocalSearch.cc.
The documentation for this class was generated from the following file:
- src/store/LocalSearch.cc