link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,9 @@
package org.testng.internal.thread;
import java.io.Serializable;
public interface IAtomicInteger extends Serializable {
int get();
int incrementAndGet();
}
@@ -0,0 +1,9 @@
package org.testng.internal.thread;
public interface ICountDown {
void await() throws InterruptedException;
boolean await(long j) throws InterruptedException;
void countDown();
}
@@ -0,0 +1,13 @@
package org.testng.internal.thread;
public interface IExecutor {
boolean awaitTermination(long j);
StackTraceElement[][] getStackTraces();
void shutdown();
void stopNow();
IFutureResult submitRunnable(Runnable runnable);
}
@@ -0,0 +1,5 @@
package org.testng.internal.thread;
public interface IFutureResult {
Object get() throws InterruptedException, ThreadExecutionException;
}
@@ -0,0 +1,11 @@
package org.testng.internal.thread;
public interface IPooledExecutor {
void awaitTermination(long j) throws InterruptedException;
void execute(Runnable runnable);
boolean isTerminated();
void shutdown();
}
@@ -0,0 +1,11 @@
package org.testng.internal.thread;
import java.util.List;
public interface IThreadFactory {
Object getThreadFactory();
List<Thread> getThreads();
Thread newThread(Runnable runnable);
}
@@ -0,0 +1,7 @@
package org.testng.internal.thread.graph;
import java.util.List;
public interface IThreadWorkerFactory<T> {
List<IWorker<T>> createWorkers(List<T> list);
}
@@ -0,0 +1,11 @@
package org.testng.internal.thread.graph;
import java.util.List;
public interface IWorker<T> extends Runnable, Comparable<IWorker<T>> {
int getPriority();
List<T> getTasks();
long getTimeOut();
}