|
rippled
|
#include <Livecache.h>

Classes | |
| struct | Transform |
Public Types | |
| using | iterator = boost::transform_iterator< Transform< false >, typename lists_type::iterator > |
| using | const_iterator = boost::transform_iterator< Transform< true >, typename lists_type::const_iterator > |
| using | reverse_iterator = boost::transform_iterator< Transform< false >, typename lists_type::reverse_iterator > |
| using | const_reverse_iterator = boost::transform_iterator< Transform< true >, typename lists_type::const_reverse_iterator > |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | crbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crend () const |
| void | shuffle () |
| Shuffle each hop list. | |
| std::string | histogram () const |
Private Types | |
| using | Histogram = std::array< int, 1+Tuning::maxHops+1 > |
| using | lists_type = std::array< list_type, 1+Tuning::maxHops+1 > |
Private Member Functions | |
| hops_t (Allocator const &alloc) | |
| void | insert (Element &e) |
| void | reinsert (Element &e, std::uint32_t hops) |
| void | remove (Element &e) |
Private Attributes | |
| lists_type | m_lists |
| Histogram | m_hist {} |
Friends | |
| class | Livecache |
Definition at line 197 of file Livecache.h.
|
private |
Definition at line 205 of file Livecache.h.
|
private |
Definition at line 206 of file Livecache.h.
| using xrpl::PeerFinder::Livecache< Allocator >::hops_t::iterator = boost::transform_iterator<Transform<false>, typename lists_type::iterator> |
Definition at line 225 of file Livecache.h.
| using xrpl::PeerFinder::Livecache< Allocator >::hops_t::const_iterator = boost::transform_iterator<Transform<true>, typename lists_type::const_iterator> |
Definition at line 227 of file Livecache.h.
| using xrpl::PeerFinder::Livecache< Allocator >::hops_t::reverse_iterator = boost::transform_iterator<Transform<false>, typename lists_type::reverse_iterator> |
Definition at line 230 of file Livecache.h.
| using xrpl::PeerFinder::Livecache< Allocator >::hops_t::const_reverse_iterator = boost::transform_iterator<Transform<true>, typename lists_type::const_reverse_iterator> |
Definition at line 233 of file Livecache.h.
|
explicitprivate |
Definition at line 491 of file Livecache.h.
| iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::begin | ( | ) |
Definition at line 237 of file Livecache.h.
| const_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::begin | ( | ) | const |
Definition at line 243 of file Livecache.h.
| const_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::cbegin | ( | ) | const |
Definition at line 249 of file Livecache.h.
| iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::end | ( | ) |
Definition at line 255 of file Livecache.h.
| const_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::end | ( | ) | const |
Definition at line 261 of file Livecache.h.
| const_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::cend | ( | ) | const |
Definition at line 267 of file Livecache.h.
| reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::rbegin | ( | ) |
Definition at line 273 of file Livecache.h.
| const_reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::rbegin | ( | ) | const |
Definition at line 279 of file Livecache.h.
| const_reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::crbegin | ( | ) | const |
Definition at line 285 of file Livecache.h.
| reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::rend | ( | ) |
Definition at line 291 of file Livecache.h.
| const_reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::rend | ( | ) | const |
Definition at line 297 of file Livecache.h.
| const_reverse_iterator xrpl::PeerFinder::Livecache< Allocator >::hops_t::crend | ( | ) | const |
Definition at line 303 of file Livecache.h.
| void xrpl::PeerFinder::Livecache< Allocator >::hops_t::shuffle | ( | ) |
Shuffle each hop list.
Definition at line 462 of file Livecache.h.
| std::string xrpl::PeerFinder::Livecache< Allocator >::hops_t::histogram | ( | ) | const |
Definition at line 478 of file Livecache.h.
|
private |
Definition at line 498 of file Livecache.h.
|
private |
Definition at line 510 of file Livecache.h.
|
private |
Definition at line 527 of file Livecache.h.
|
friend |
Definition at line 328 of file Livecache.h.
|
private |
Definition at line 329 of file Livecache.h.
|
private |
Definition at line 330 of file Livecache.h.