rippled
|
Public Member Functions | |
Family (Family const &)=delete | |
Family (Family &&)=delete | |
Family & | operator= (Family const &)=delete |
Family & | operator= (Family &&)=delete |
Family ()=default | |
virtual | ~Family ()=default |
virtual NodeStore::Database & | db ()=0 |
virtual NodeStore::Database const & | db () const =0 |
virtual beast::Journal const & | journal ()=0 |
virtual std::shared_ptr< FullBelowCache > | getFullBelowCache (std::uint32_t ledgerSeq)=0 |
Return a pointer to the Family Full Below Cache. More... | |
virtual std::shared_ptr< TreeNodeCache > | getTreeNodeCache (std::uint32_t ledgerSeq)=0 |
Return a pointer to the Family Tree Node Cache. More... | |
virtual void | sweep ()=0 |
virtual bool | isShardBacked () const =0 |
virtual void | missingNodeAcquireBySeq (std::uint32_t refNum, uint256 const &nodeHash)=0 |
Acquire ledger that has a missing node by ledger sequence. More... | |
virtual void | missingNodeAcquireByHash (uint256 const &refHash, std::uint32_t refNum)=0 |
Acquire ledger that has a missing node by ledger hash. More... | |
virtual void | reset ()=0 |
|
delete |
|
delete |
|
explicitdefault |
|
virtualdefault |
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
Return a pointer to the Family Full Below Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
Return a pointer to the Family Tree Node Cache.
ledgerSeq | ledger sequence determines a corresponding shard cache |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::ShardFamily, and ripple::NodeFamily.
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::NodeFamily, and ripple::ShardFamily.
|
pure virtual |
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. |
Implemented in ripple::ShardFamily, ripple::NodeFamily, and ripple::tests::TestNodeFamily.
|
pure virtual |
Acquire ledger that has a missing node by ledger hash.
refHash | Hash of ledger to acquire. |
refNum | Ledger sequence with missing node. |
Implemented in ripple::tests::TestNodeFamily, ripple::ShardFamily, and ripple::NodeFamily.
|
pure virtual |
Implemented in ripple::tests::TestNodeFamily, ripple::ShardFamily, and ripple::NodeFamily.