Skip to content

Commit

Permalink
GH-5197: mark extension points as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
aschwarte10 committed Nov 13, 2024
1 parent ddcadc0 commit 721b3b6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

import org.eclipse.rdf4j.common.annotation.Experimental;
import org.eclipse.rdf4j.common.iteration.CloseableIteration;
import org.eclipse.rdf4j.federated.evaluation.join.ControlledWorkerBindJoin;
import org.eclipse.rdf4j.federated.evaluation.join.ControlledWorkerJoin;
Expand Down Expand Up @@ -127,6 +128,7 @@ public int getNumberOfTasks() {
*
* @return
*/
@Experimental
protected BlockingQueue<Runnable> createBlockingQueue() {
return new LinkedBlockingQueue<>();
}
Expand All @@ -141,6 +143,7 @@ protected BlockingQueue<Runnable> createBlockingQueue() {
* @param name the base name for threads in the pool
* @return
*/
@Experimental
protected ExecutorService createExecutorService(int nWorkers, String name) {

ThreadPoolExecutor executor = new ThreadPoolExecutor(nWorkers, nWorkers, 60L, TimeUnit.SECONDS, this._taskQueue,
Expand Down

0 comments on commit 721b3b6

Please sign in to comment.