Uses of Record Class
com.fayupable.logged.core.model.FlowContext
Packages that use FlowContext
-
Uses of FlowContext in com.fayupable.logged.core.model
Methods in com.fayupable.logged.core.model that return FlowContextModifier and TypeMethodDescriptionFlowContext.next()Creates the context for a nested call one level deeper than this one, keeping the sametraceId()so it remains part of the same chain.static FlowContextFlowContext.root()Creates the root context for a new call chain, deriving the trace id from a single 64-bit random value. -
Uses of FlowContext in com.fayupable.logged.spring.aspect
Methods in com.fayupable.logged.spring.aspect that return FlowContextModifier and TypeMethodDescriptionstatic FlowContextFlowContextCarrier.capture()Returns theFlowContextcurrently active on this thread, ornullif no@Loggedcall is in progress on this thread.Methods in com.fayupable.logged.spring.aspect with parameters of type FlowContextModifier and TypeMethodDescriptionstatic RunnableFlowContextCarrier.adopt(FlowContext context) Makescontextthe activeFlowContexton the calling thread and returns aRunnablethat undoes this, restoring whatever context was active before this call.