xrpld
Loading...
Searching...
No Matches
xrpl::peer_finder::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 38 of file Bootcache.h.

Constructor & Destructor Documentation

◆ Entry()

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

Definition at line 41 of file Bootcache.h.

Member Function Documentation

◆ valence() [1/2]

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

Definition at line 46 of file Bootcache.h.

◆ valence() [2/2]

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

Definition at line 52 of file Bootcache.h.

◆ operator<

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

Definition at line 57 of file Bootcache.h.

Member Data Documentation

◆ valence_

int xrpl::peer_finder::Bootcache::Entry::valence_
private

Definition at line 64 of file Bootcache.h.