refactoring

pull/4428/head
Nikita Koksharov 3 years ago
parent 184d93c72e
commit 3075aa6185

@ -154,7 +154,7 @@ public interface RExecutorService extends ExecutorService, RExecutorServiceAsync
void registerWorkers(WorkerOptions options); void registerWorkers(WorkerOptions options);
/** /**
* Returns amount of tasks awaiting for execution and/or currently in execution. * Returns amount of tasks awaiting for execution or currently in execution.
* *
* @return amount of tasks * @return amount of tasks
*/ */
@ -169,7 +169,7 @@ public interface RExecutorService extends ExecutorService, RExecutorServiceAsync
/** /**
* Returns <code>true</code> if this Executor Service has task * Returns <code>true</code> if this Executor Service has task
* by <code>taskId</code> awaiting for execution and/or currently in execution * by <code>taskId</code> awaiting for execution or currently in execution
* *
* @param taskId - id of task * @param taskId - id of task
* @return <code>true</code> if this Executor Service has task * @return <code>true</code> if this Executor Service has task
@ -177,7 +177,7 @@ public interface RExecutorService extends ExecutorService, RExecutorServiceAsync
boolean hasTask(String taskId); boolean hasTask(String taskId);
/** /**
* Returns list of task ids awaiting for execution and/or currently in execution. * Returns list of task ids awaiting for execution or currently in execution.
* *
* @return task ids * @return task ids
*/ */

@ -29,7 +29,7 @@ public interface RExecutorServiceAsync {
/** /**
* Returns <code>true</code> if this Executor Service has task * Returns <code>true</code> if this Executor Service has task
* by <code>taskId</code> awaiting for execution and/or currently in execution * by <code>taskId</code> awaiting for execution or currently in execution
* *
* @param taskId - id of task * @param taskId - id of task
* @return <code>true</code> if this Executor Service has task * @return <code>true</code> if this Executor Service has task
@ -37,14 +37,14 @@ public interface RExecutorServiceAsync {
RFuture<Boolean> hasTaskAsync(String taskId); RFuture<Boolean> hasTaskAsync(String taskId);
/** /**
* Returns amount of tasks awaiting for execution and/or currently in execution. * Returns amount of tasks awaiting for execution or currently in execution.
* *
* @return amount of tasks * @return amount of tasks
*/ */
RFuture<Integer> getTaskCountAsync(); RFuture<Integer> getTaskCountAsync();
/** /**
* Returns list of task ids awaiting for execution and/or currently in execution. * Returns list of task ids awaiting for execution or currently in execution.
* *
* @return task ids * @return task ids
*/ */

Loading…
Cancel
Save