rippled
|
Public Member Functions | |
NodeFamily ()=delete | |
NodeFamily (NodeFamily const &)=delete | |
NodeFamily (NodeFamily &&)=delete | |
NodeFamily & | operator= (NodeFamily const &)=delete |
NodeFamily & | operator= (NodeFamily &&)=delete |
NodeFamily (Application &app, CollectorManager &cm) | |
NodeStore::Database & | db () override |
NodeStore::Database const & | db () const override |
beast::Journal const & | journal () override |
bool | isShardBacked () const override |
std::shared_ptr< FullBelowCache > | getFullBelowCache (std::uint32_t) override |
Return a pointer to the Family Full Below Cache. More... | |
std::shared_ptr< TreeNodeCache > | getTreeNodeCache (std::uint32_t) override |
Return a pointer to the Family Tree Node Cache. More... | |
void | sweep () override |
void | reset () override |
void | missingNodeAcquireBySeq (std::uint32_t seq, uint256 const &hash) override |
Acquire ledger that has a missing node by ledger sequence. More... | |
void | missingNodeAcquireByHash (uint256 const &hash, std::uint32_t seq) override |
Acquire ledger that has a missing node by ledger hash. More... | |
Private Member Functions | |
void | acquire (uint256 const &hash, std::uint32_t seq) |
Private Attributes | |
Application & | app_ |
NodeStore::Database & | db_ |
const beast::Journal | j_ |
std::shared_ptr< FullBelowCache > | fbCache_ |
std::shared_ptr< TreeNodeCache > | tnCache_ |
LedgerIndex | maxSeq_ {0} |
std::mutex | maxSeqMutex_ |
Definition at line 30 of file NodeFamily.h.
|
delete |
|
delete |
|
delete |
ripple::NodeFamily::NodeFamily | ( | Application & | app, |
CollectorManager & | cm | ||
) |
Definition at line 28 of file NodeFamily.cpp.
|
delete |
|
delete |
|
overridevirtual |
Implements ripple::Family.
Definition at line 46 of file NodeFamily.h.
|
overridevirtual |
Implements ripple::Family.
Definition at line 52 of file NodeFamily.h.
|
overridevirtual |
Implements ripple::Family.
Definition at line 58 of file NodeFamily.h.
|
overridevirtual |
Implements ripple::Family.
Definition at line 64 of file NodeFamily.h.
|
overridevirtual |
Return a pointer to the Family Full Below Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implements ripple::Family.
Definition at line 69 of file NodeFamily.h.
|
overridevirtual |
Return a pointer to the Family Tree Node Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implements ripple::Family.
Definition at line 74 of file NodeFamily.h.
|
overridevirtual |
Implements ripple::Family.
Definition at line 50 of file NodeFamily.cpp.
|
overridevirtual |
Implements ripple::Family.
Definition at line 57 of file NodeFamily.cpp.
|
overridevirtual |
Acquire ledger that has a missing node by ledger sequence.
Throw if in reporting mode.
refNum | Sequence of ledger to acquire. |
nodeHash | Hash of missing node to report in throw. |
Implements ripple::Family.
Definition at line 69 of file NodeFamily.cpp.
|
overridevirtual |
Acquire ledger that has a missing node by ledger hash.
refHash | Hash of ledger to acquire. |
refNum | Ledger sequence with missing node. |
Implements ripple::Family.
Definition at line 89 of file NodeFamily.h.
|
private |
Definition at line 106 of file NodeFamily.cpp.
|
private |
Definition at line 95 of file NodeFamily.h.
|
private |
Definition at line 96 of file NodeFamily.h.
|
private |
Definition at line 97 of file NodeFamily.h.
|
private |
Definition at line 99 of file NodeFamily.h.
|
private |
Definition at line 100 of file NodeFamily.h.
|
private |
Definition at line 103 of file NodeFamily.h.
|
private |
Definition at line 104 of file NodeFamily.h.