Uses of Record Class
org.springframework.ai.session.compaction.CompactionResult
Packages that use CompactionResult
-
Uses of CompactionResult in org.springframework.ai.session
Methods in org.springframework.ai.session that return CompactionResultModifier and TypeMethodDescriptionDefaultSessionService.compact(String sessionId, CompactionTrigger trigger, CompactionStrategy strategy) SessionService.compact(String sessionId, CompactionTrigger trigger, CompactionStrategy strategy) Evaluates the trigger on the active view and, when it fires, runs the strategy and records its result: oneEventType.COMPACTIONboundary event followed by the summary events, in one version-checked append. -
Uses of CompactionResult in org.springframework.ai.session.compaction
Methods in org.springframework.ai.session.compaction that return CompactionResultModifier and TypeMethodDescriptionCompactionStrategy.compact(CompactionRequest request) Decides how to compact the view.WindowCompactionStrategy.compact(CompactionRequest request) static CompactionResultCompactionResult.unchanged()The result of a pass that leaves the view as it is: nothing is written.