equal
deleted
inserted
replaced
482 // VALUE_SIZE_FUNC. |
482 // VALUE_SIZE_FUNC. |
483 template <typename VALUE_SIZE_FUNC> |
483 template <typename VALUE_SIZE_FUNC> |
484 void statistics_to(Thread* thread, VALUE_SIZE_FUNC& vs_f, outputStream* st, |
484 void statistics_to(Thread* thread, VALUE_SIZE_FUNC& vs_f, outputStream* st, |
485 const char* table_name); |
485 const char* table_name); |
486 |
486 |
|
487 // Moves all nodes from this table to to_cht |
|
488 bool try_move_nodes_to(Thread* thread, ConcurrentHashTable<VALUE, CONFIG, F>* to_cht); |
|
489 |
487 // This is a Curiously Recurring Template Pattern (CRPT) interface for the |
490 // This is a Curiously Recurring Template Pattern (CRPT) interface for the |
488 // specialization. |
491 // specialization. |
489 struct BaseConfig { |
492 struct BaseConfig { |
490 public: |
493 public: |
491 // Called when the hash table needs the hash for a VALUE. |
494 // Called when the hash table needs the hash for a VALUE. |