| 569 | } |
| 570 | |
| 571 | void Database::Linger::reset() |
| 572 | { |
| 573 | if (active) |
| 574 | { |
| 575 | FbLocalStatus s; |
| 576 | TimerInterfacePtr()->stop(&s, this); |
| 577 | if (!(s->getState() & IStatus::STATE_ERRORS)) |
| 578 | active = false; |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | void Database::Linger::set(unsigned seconds) |
| 583 | { |
no test coverage detected