Uses of Record Class
com.tnsai.observability.events.EventContext
Packages that use EventContext
Package
Description
Custom exceptions for the TnsAI framework.
Structured error reporting infrastructure.
Observability event schema + thread-local correlation context.
-
Uses of EventContext in com.tnsai.exceptions
Methods in com.tnsai.exceptions that return types with arguments of type EventContextModifier and TypeMethodDescriptionContextualWrapper.getContext()TnsAIException.getContext()FrameworkEventContextcaptured at construction time, if any.Constructors in com.tnsai.exceptions with parameters of type EventContextModifierConstructorDescriptionContextualWrapper(Throwable original, EventContext explicitContext) Wraporiginalwith an explicit context (test / cross-thread scenarios where the natural thread-local lookup is wrong). -
Uses of EventContext in com.tnsai.observability.errors
Methods in com.tnsai.observability.errors that return types with arguments of type EventContextModifier and TypeMethodDescriptionErrorReport.context()Returns the value of thecontextrecord component.Methods in com.tnsai.observability.errors with parameters of type EventContext -
Uses of EventContext in com.tnsai.observability.events
Methods in com.tnsai.observability.events that return EventContextModifier and TypeMethodDescriptionEventContext.Builder.build()CapturingAgentEventPublisher.Captured.context()Returns the value of thecontextrecord component.static EventContextAgentContext.current()static EventContextEventContext.empty()Empty context — used when no agent is active in the current thread.Returns a new context with the given field overridden.Methods in com.tnsai.observability.events that return types with arguments of type EventContextMethods in com.tnsai.observability.events with parameters of type EventContextModifier and TypeMethodDescriptionstatic AgentContext.ScopeAgentContext.enter(EventContext ctx) Pushes the given context for the lifetime of the returnedAgentContext.Scope.default voidAgentEventPublisher.publish(TnsAIEvent event, EventLevel level, EventContext context) Publish a single event with explicit level / context overrides.static voidAgentEvents.publish(TnsAIEvent event, EventLevel level, EventContext context) Publishes with explicit level + context (bypasses thread-local lookup).voidCapturingAgentEventPublisher.publish(TnsAIEvent event, EventLevel level, EventContext context) voidCompositeAgentEventPublisher.publish(TnsAIEvent event, EventLevel level, EventContext context) voidSlf4jAgentEventPublisher.publish(TnsAIEvent event, EventLevel level, EventContext context) Constructors in com.tnsai.observability.events with parameters of type EventContextModifierConstructorDescriptionCaptured(TnsAIEvent event, EventLevel level, EventContext context) Creates an instance of aCapturedrecord class.