InMemorySessionService
An in-memory implementation of SessionService assuming Session objects are mutable regarding their state map, events list, and last update time.
This implementation stores sessions, user state, and app state directly in memory in a thread-safe manner. It is suitable for testing or single-node deployments where persistence is not required.
Note: State merging (app/user state prefixed with app: / user:) occurs during retrieval operations (getSession, createSession).
Functions
Closes a session.
Creates a new session with the specified parameters.
Deletes a specific session.
Retrieves a specific session, optionally filtering the events included.
Lists the events within a specific session.
Lists sessions associated with a specific application and user.