# Uses of Interface
com.google.adk.sessions.BaseSessionService

Packages that use BaseSessionService
Package
Description
com.google.adk.a2a.executor
com.google.adk.agents
com.google.adk.runner
com.google.adk.sessions
com.google.adk.summarizer
com.google.adk.web
com.google.adk.web.controller
com.google.adk.web.service
com.google.adk.web.websocket

- ## Uses of BaseSessionService in com.google.adk.a2a.executor

  Methods in com.google.adk.a2a.executor with parameters of type BaseSessionService
  Modifier and Type
  Method
  Description
  `AgentExecutor.Builder`
  AgentExecutor.Builder.`sessionService(BaseSessionService sessionService)`

- ## Uses of BaseSessionService in com.google.adk.agents

  Methods in com.google.adk.agents that return BaseSessionService
  Modifier and Type
  Method
  Description
  `BaseSessionService`
  InvocationContext.`sessionService()`
  Returns the session service for managing session state.
  Methods in com.google.adk.agents with parameters of type BaseSessionService
  Modifier and Type
  Method
  Description
  `InvocationContext.Builder`
  InvocationContext.Builder.`sessionService(BaseSessionService sessionService)`
  Sets the session service for managing session state.

- ## Uses of BaseSessionService in com.google.adk.runner

  Methods in com.google.adk.runner that return BaseSessionService
  Modifier and Type
  Method
  Description
  `BaseSessionService`
  Runner.`sessionService()`
  Methods in com.google.adk.runner with parameters of type BaseSessionService
  Modifier and Type
  Method
  Description
  `Runner.Builder`
  Runner.Builder.`sessionService(BaseSessionService sessionService)`
  Constructors in com.google.adk.runner with parameters of type BaseSessionService
  Modifier
  Constructor
  Description
  ``
  `Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService)`
  Deprecated.
  Use `Runner.Builder` instead.
  ``
  `Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, @Nullable BaseMemoryService memoryService)`
  Deprecated.
  Use `Runner.Builder` instead.
  ``
  `Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, @Nullable BaseMemoryService memoryService, List<? extends Plugin> plugins)`
  Deprecated.
  Use `Runner.Builder` instead.
  `protected`
  `Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, @Nullable BaseMemoryService memoryService, List<? extends Plugin> plugins, @Nullable EventsCompactionConfig eventsCompactionConfig, @Nullable ContextCacheConfig contextCacheConfig)`
  Deprecated.
  Use `Runner.Builder` instead.

- ## Uses of BaseSessionService in com.google.adk.sessions

  Classes in com.google.adk.sessions that implement BaseSessionService
  Modifier and Type
  Class
  Description
  `class`
  `FirestoreSessionService`
  FirestoreSessionService implements session management using Google Firestore as the backend storage.
  `final class`
  `InMemorySessionService`
  An in-memory implementation of `BaseSessionService` assuming `Session` objects are mutable regarding their state map, events list, and last update time.
  `final class`
  `VertexAiSessionService`
  Connects to the managed Vertex AI Session Service.

- ## Uses of BaseSessionService in com.google.adk.summarizer

  Methods in com.google.adk.summarizer with parameters of type BaseSessionService
  Modifier and Type
  Method
  Description
  `io.reactivex.rxjava3.core.Completable`
  EventCompactor.`compact(Session session, BaseSessionService sessionService)`
  Compacts events in the given session.
  `io.reactivex.rxjava3.core.Completable`
  SlidingWindowEventCompactor.`compact(Session session, BaseSessionService sessionService)`
  Runs compaction for SlidingWindowCompactor.
  `io.reactivex.rxjava3.core.Completable`
  TailRetentionEventCompactor.`compact(Session session, BaseSessionService sessionService)`

- ## Uses of BaseSessionService in com.google.adk.web

  Methods in com.google.adk.web that return BaseSessionService
  Modifier and Type
  Method
  Description
  `BaseSessionService`
  AdkWebServer.`sessionService()`

- ## Uses of BaseSessionService in com.google.adk.web.controller

  Constructors in com.google.adk.web.controller with parameters of type BaseSessionService
  Modifier
  Constructor
  Description
  ``
  `GraphController(BaseSessionService sessionService, AgentLoader agentProvider)`
  ``
  `SessionController(BaseSessionService sessionService)`

- ## Uses of BaseSessionService in com.google.adk.web.service

  Constructors in com.google.adk.web.service with parameters of type BaseSessionService
  Modifier
  Constructor
  Description
  ``
  `RunnerService(AgentLoader agentProvider, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, List<BasePlugin> extraPlugins)`

- ## Uses of BaseSessionService in com.google.adk.web.websocket

  Constructors in com.google.adk.web.websocket with parameters of type BaseSessionService
  Modifier
  Constructor
  Description
  ``
  `LiveWebSocketHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper, BaseSessionService sessionService, RunnerService runnerService)`