提交 09f5ffab 编写于 作者: oldratlee's avatar oldratlee 🔥

improve comment

上级 d4ebb5d5
......@@ -4,11 +4,10 @@ import java.util.Map;
import java.util.concurrent.Callable;
/**
* {@link MtContextCallable} uses to get @{@link MtContext}
* and transmit it to the time of {@link Callable} execution,
* so as to use {@link Callable} to thread pool.
* {@link MtContextCallable} decorate {@link Callable}, so as to get @{@link MtContext}
* and transmit it to the time of {@link Callable} execution, needed when use {@link Callable} to thread pool.
* <p/>
* Use factory method {@link #get(Callable)} to create instance.
* Use factory method {@link #get(Callable)} to get decorated instance.
*
* @author ding.lid
* @see java.util.concurrent.CompletionService
......
......@@ -3,9 +3,8 @@ package com.oldratlee.mtc;
import java.util.Map;
/**
* {@link MtContextRunnable} uses to get @{@link MtContext}
* and transmit it to the time of {@link Runnable} execution,
* so as to use {@link Runnable} to thread pool.
* {@link MtContextRunnable} decorate {@link Runnable}, so as to get @{@link MtContext}
* and transmit it to the time of {@link Runnable} execution, needed when use {@link Runnable} to thread pool.
* <p/>
* Use factory method {@link #get(Runnable)} to create instance.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册