51 size_t remove_all()
override;
53 size_t capacity()
const {
return m_max_sessions; }
58 std::optional<Session> retrieve_one(
const Session_Handle& handle)
override;
59 std::vector<Session_with_Handle> find_some(
const Server_Information& info,
size_t max_sessions_hint)
override;
65 size_t m_max_sessions;
67 std::map<Session_ID, Session_with_Handle> m_sessions;
68 std::optional<std::deque<Session_ID>> m_fifo;