File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -46,23 +46,18 @@ public interface SequentialExecutor {
4646 /**
4747 * Asynchronously executes specified command in sequence regulated by specified key
4848 *
49- * @param command
50- * the Runnable task to run sequentially with others under the same sequence key
51- * @param sequenceKey
52- * the key under which all tasks are executed sequentially
49+ * @param command the Runnable task to run sequentially with others under the same sequence key
50+ * @param sequenceKey the key under which all tasks are executed sequentially
5351 * @return future holding run status of the submitted command
5452 */
5553 Future <Void > execute (Runnable command , Object sequenceKey );
5654
5755 /**
5856 * Asynchronously executes specified task in sequence regulated by specified key
5957 *
60- * @param <T>
61- * the type of the task's result
62- * @param task
63- * the Callable task to run sequentially with others under the same sequence key
64- * @param sequenceKey
65- * the key under which all tasks are executed sequentially
58+ * @param <T> the type of the task's result
59+ * @param task the Callable task to run sequentially with others under the same sequence key
60+ * @param sequenceKey the key under which all tasks are executed sequentially
6661 * @return a Future representing pending completion of the submitted task
6762 */
6863 <T > Future <T > submit (Callable <T > task , Object sequenceKey );
Original file line number Diff line number Diff line change @@ -39,10 +39,9 @@ public interface SequentialExecutorServiceFactory {
3939 * Produces sequential executor for the specified sequence key. All calls passing in the same sequence key return
4040 * the same executor.
4141 *
42- * @param sequenceKey
43- * an {@link Object} instance whose hash code is used to summon the corresponding executor.
42+ * @param sequenceKey an {@link Object} instance whose hash code is used to summon the corresponding executor.
4443 * @return the sequential executor of type {@link java.util.concurrent.ExecutorService} that executes all tasks of
45- * this sequence key in the same order as they are submitted.
44+ * this sequence key in the same order as they are submitted.
4645 */
4746 ExecutorService getExecutorService (Object sequenceKey );
4847}
You can’t perform that action at this time.
0 commit comments