mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Implement Shards
This commit is contained in:
committed by
Scott Schurr
parent
aeda2430cd
commit
718d217158
@@ -155,6 +155,14 @@ public:
|
||||
m_map.clear ();
|
||||
}
|
||||
|
||||
void reset ()
|
||||
{
|
||||
lock_guard lock(m_mutex);
|
||||
m_map.clear();
|
||||
m_stats.hits = 0;
|
||||
m_stats.misses = 0;
|
||||
}
|
||||
|
||||
void setTargetSize (size_type s)
|
||||
{
|
||||
lock_guard lock (m_mutex);
|
||||
|
||||
Reference in New Issue
Block a user