Skip to content

Commit 9bf30e8

Browse files
committed
1 parent 9dfcd58 commit 9bf30e8

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

modules/commons/src/main/java/org/apache/ignite/internal/thread/context/concurrent/ThreadContextAwareExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private ThreadContextAwareExecutor(Executor delegate) {
3838

3939
/**
4040
* Creates executor wrapper that automatically captures scoped thread context attributes for the thread that
41-
* invokes task execution. Capturing attribute values will be restored before task execution, potentially in another
41+
* invokes task execution. Captured attribute values will be restored before task execution, potentially in another
4242
* thread.
4343
*/
4444
public static Executor wrap(Executor delegate) {

modules/commons/src/main/java/org/apache/ignite/internal/thread/context/function/ThreadContextAwareCallable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private ThreadContextAwareCallable(Callable<T> delegate, ThreadContextSnapshot s
4141

4242
/**
4343
* Creates a wrapper that stores a specified {@link Callable} along with the thread context attributes values bound
44-
* to the thread when this method is called. Capturing attribute values will be restored before {@link Callable} execution,
44+
* to the thread when this method is called. Captured attribute values will be restored before {@link Callable} execution,
4545
* potentially in another thread.
4646
*/
4747
public static <T> Callable<T> wrap(Callable<T> delegate) {
@@ -50,7 +50,7 @@ public static <T> Callable<T> wrap(Callable<T> delegate) {
5050

5151
/**
5252
* Creates a wrapper that stores a specified {@link Callable} along with the thread context attributes values bound
53-
* to the thread when this method is called. Capturing attribute values will be restored before {@link Callable} execution,
53+
* to the thread when this method is called. Captured attribute values will be restored before {@link Callable} execution,
5454
* potentially in another thread.
5555
* If all Thread Context attributes holds initial values when this method is calls, it does nothing and returns original
5656
* {@link Callable}.

modules/commons/src/main/java/org/apache/ignite/internal/thread/context/function/ThreadContextAwareRunnable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public ThreadContextAwareRunnable(Runnable delegate, ThreadContextSnapshot snaps
3838

3939
/**
4040
* Creates a wrapper that stores a specified {@link Runnable} along with the thread context attributes values bound
41-
* to the thread when this method is called. Capturing attribute values will be restored before {@link Runnable} execution,
41+
* to the thread when this method is called. Captured attribute values will be restored before {@link Runnable} execution,
4242
* potentially in another thread.
4343
*/
4444
public static Runnable wrap(Runnable delegate) {
@@ -47,7 +47,7 @@ public static Runnable wrap(Runnable delegate) {
4747

4848
/**
4949
* Creates a wrapper that stores a specified {@link Runnable} along with the thread context attributes values bound
50-
* to the thread when this method is called. Capturing attribute values will be restored before {@link Runnable} execution,
50+
* to the thread when this method is called. Captured attribute values will be restored before {@link Runnable} execution,
5151
* potentially in another thread.
5252
* If all Thread Context attributes holds initial values when this method is calls, it does nothing and returns original
5353
* {@link Runnable}.

0 commit comments

Comments
 (0)