rippled
|
Public Member Functions | |
TestNodeFamily (beast::Journal j) | |
NodeStore::Database & | db () override |
NodeStore::Database const & | db () const override |
beast::Journal const & | journal () 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 |
bool | isShardBacked () const override |
void | missingNodeAcquireBySeq (std::uint32_t refNum, uint256 const &nodeHash) override |
Acquire ledger that has a missing node by ledger sequence. More... | |
void | missingNodeAcquireByHash (uint256 const &refHash, std::uint32_t refNum) override |
Acquire ledger that has a missing node by ledger hash. More... | |
void | reset () override |
beast::manual_clock< std::chrono::steady_clock > | clock () |
Private Attributes | |
std::unique_ptr< NodeStore::Database > | db_ |
std::shared_ptr< FullBelowCache > | fbCache_ |
std::shared_ptr< TreeNodeCache > | tnCache_ |
TestStopwatch | clock_ |
NodeStore::DummyScheduler | scheduler_ |
const beast::Journal | j_ |
ripple::tests::TestNodeFamily::TestNodeFamily | ( | beast::Journal | j | ) |
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Return a pointer to the Family Full Below Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implements ripple::Family.
|
overridevirtual |
Return a pointer to the Family Tree Node Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
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.
|
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.
|
overridevirtual |
Implements ripple::Family.
beast::manual_clock<std::chrono::steady_clock> ripple::tests::TestNodeFamily::clock | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |