| 465 | } |
| 466 | |
| 467 | void RedisDataUI::DoRefreshValuesWork() |
| 468 | { |
| 469 | if (m_oThread.isRunning()) return; |
| 470 | |
| 471 | m_pWork.reset(new Base::RunnableAdapter<RedisDataUI>(*this, &RedisDataUI::BackgroundWorkForRefreshValues)); |
| 472 | try |
| 473 | { |
| 474 | m_oThread.start(*m_pWork); |
| 475 | } |
| 476 | catch (std::exception& ex) |
| 477 | { |
| 478 | /// who care ? |
| 479 | (void)(ex); |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | std::size_t RedisDataUI::GetMaxPage() |
| 484 | { |