xrpld
Loading...
Searching...
No Matches
xrpl::PeerFinder::Bootcache::Entry Class Reference

Public Member Functions

 Entry (int valence)
int & valence ()
int valence () const

Private Attributes

int valence_

Friends

bool operator< (Entry const &lhs, Entry const &rhs)

Detailed Description

Definition at line 35 of file Bootcache.h.

Constructor & Destructor Documentation

◆ Entry()

xrpl::PeerFinder::Bootcache::Entry::Entry ( int valence)

Definition at line 38 of file Bootcache.h.

Member Function Documentation

◆ valence() [1/2]

int & xrpl::PeerFinder::Bootcache::Entry::valence ( )

Definition at line 43 of file Bootcache.h.

◆ valence() [2/2]

int xrpl::PeerFinder::Bootcache::Entry::valence ( ) const
nodiscard

Definition at line 49 of file Bootcache.h.

◆ operator<

bool operator< ( Entry const & lhs,
Entry const & rhs )
friend

Definition at line 54 of file Bootcache.h.

Member Data Documentation

◆ valence_

int xrpl::PeerFinder::Bootcache::Entry::valence_
private

Definition at line 61 of file Bootcache.h.