Uses of Interface
dev.langchain4j.spi.CapturedContext
Packages that use CapturedContext
-
Uses of CapturedContext in dev.langchain4j.internal
Methods in dev.langchain4j.internal that return CapturedContextModifier and TypeMethodDescriptionstatic CapturedContextDefaultExecutorProvider.captureContext()Captures the context of the calling thread with the registeredExecutorProvider, seeExecutorProvider.captureContext(). -
Uses of CapturedContext in dev.langchain4j.spi
Fields in dev.langchain4j.spi declared as CapturedContextModifier and TypeFieldDescriptionstatic final CapturedContextCapturedContext.NONENothing captured: tasks run unchanged.Methods in dev.langchain4j.spi that return CapturedContextModifier and TypeMethodDescriptiondefault CapturedContextExecutorProvider.captureContext()Captures the context of the calling thread (tracing span, SLF4J MDC, security context, …), so that it can be restored in tasks that are submitted later, possibly from another thread.