|
CatapultServer
v0.5.0.1 (Elephant)
|
A wrapper around a patricia tree used by caches. More...
Classes | |
| class | Impl |
Public Member Functions | |
| CachePatriciaTree (bool enable, CacheDatabase &database, size_t columnId) | |
Creates a tree around database and columnId if enable is true. More... | |
| const auto * | get () const |
| Gets a pointer to the underlying tree if enabled. More... | |
| auto | rebase () |
| Returns a delta based on the same data source as this tree. More... | |
| auto | rebaseDetached () const |
| void | commit () |
| Commits all changes in the rebased tree. More... | |
Private Attributes | |
| std::unique_ptr< Impl > | m_pImpl |
A wrapper around a patricia tree used by caches.
|
inline |
Creates a tree around database and columnId if enable is true.
|
inline |
Commits all changes in the rebased tree.

|
inline |
Gets a pointer to the underlying tree if enabled.
|
inline |
Returns a delta based on the same data source as this tree.

|
inline |
Returns a delta based on the same data source as this tree but without the ability to commit any changes to the original tree.

|
private |