Uses of Class
ai.singlr.runtime.SessionRegistry
-
Uses of SessionRegistry in ai.singlr.runtime
Methods in ai.singlr.runtime that return SessionRegistryModifier and TypeMethodDescriptionSessionRegistry.Builder.build()Build the immutable registry.static SessionRegistrySessionRegistry.inMemory()Registry that constructs sessions viaAgentSession.create(SessionOptions)with system clock and no cap.RuntimeServer.registry()The registry of sessions the server is fronting.static SessionRegistrySessionRegistry.withFactory(Function<ai.singlr.session.SessionOptions, ai.singlr.session.AgentSession> factory) Registry that constructs sessions via a custom factory, system clock, no cap.Methods in ai.singlr.runtime with parameters of type SessionRegistryModifier and TypeMethodDescriptionRuntimeServer.Builder.withRegistry(SessionRegistry registry) Bind the registry the service exposes.Constructors in ai.singlr.runtime with parameters of type SessionRegistryModifierConstructorDescriptionAgentHttpService(SessionRegistry registry, Function<String, ai.singlr.session.SessionOptions> optionsFactory, tools.jackson.databind.ObjectMapper objectMapper, String eventsPathPrefix) Build a service.