Uses of Class
com.streamconverter.context.ExecutionContext
Packages that use ExecutionContext
Package
Description
-
Uses of ExecutionContext in com.streamconverter
Methods in com.streamconverter with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic StreamConverterStreamConverter.createWithContext(ExecutionContext context, IStreamCommand... commands) Creates a StreamConverter with a custom ExecutionContext and specified commands.static StreamConverterStreamConverter.createWithContext(ExecutionContext context, List<IStreamCommand> commands) Creates a StreamConverter with a custom ExecutionContext and specified commands list.StreamConverter.run(InputStream inputStream, OutputStream outputStream, ExecutionContext context) カスタムExecutionContextを使用してストリームを変換する。 マルチスレッド環境でのMDCコンテキスト伝播とログトレーサビリティを実現。 -
Uses of ExecutionContext in com.streamconverter.command
Methods in com.streamconverter.command with parameters of type ExecutionContextModifier and TypeMethodDescriptionfinal voidAbstractStreamCommand.execute(InputStream inputStream, OutputStream outputStream, ExecutionContext context) Executes the command with ExecutionContext support.default voidIStreamCommand.execute(InputStream inputStream, OutputStream outputStream, ExecutionContext context) Executes the command with ExecutionContext support for enhanced traceability. -
Uses of ExecutionContext in com.streamconverter.command.rule
Constructors in com.streamconverter.command.rule with parameters of type ExecutionContextModifierConstructorDescriptionMdcSetupRule(ExecutionContext context, String mdcKey) MdcSetupRuleを作成します -
Uses of ExecutionContext in com.streamconverter.context
Methods in com.streamconverter.context that return ExecutionContextModifier and TypeMethodDescriptionExecutionContext.Builder.build()ExecutionContextインスタンスを生成ExecutionContext.copy()コンテキストのコピーを作成 ユーザーコンテキストは複製されますが、グローバルコンテキストは共有されます。 コピー時はコマンドシーケンスは0にリセットされます。static ExecutionContextExecutionContext.create()新しい実行コンテキストを生成static ExecutionContextExecutionContextHolder.get()現在のスレッドのExecutionContextを取得しますMethods in com.streamconverter.context with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic voidExecutionContextHolder.set(ExecutionContext context) 現在のスレッドにExecutionContextを設定します