public class JEPThreadPool
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
call(java.util.concurrent.Callable<java.lang.String> task) |
static JEPThreadPool |
getInstance() |
Jep |
getJEPInstance()
To be called by the thread executing python commands via JEP.
|
void |
run(java.lang.Runnable task) |
public static JEPThreadPool getInstance()
public Jep getJEPInstance()
public void run(java.lang.Runnable task)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.lang.String call(java.util.concurrent.Callable<java.lang.String> task)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException