Class NlpAsyncNerRunner
- java.lang.Object
-
- java.lang.Thread
-
- org.gcube.data.analysis.nlphub.legacy.AsyncHttpRequest
-
- org.gcube.data.analysis.nlphub.nlp.NlpAsyncNerRunner
-
- All Implemented Interfaces:
Runnable
public class NlpAsyncNerRunner extends AsyncHttpRequest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringWPS_DESCRIBE_PROCESS_URLstatic StringWPS_EXECUTE_URL-
Fields inherited from class org.gcube.data.analysis.nlphub.legacy.AsyncHttpRequest
elapsedTime
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description NlpAsyncNerRunner(String dataMiner, String identifier, String token, String publicLink, String annotations, String language, RunnerCommander commander)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidasyncHttpRequestCallback()longgetElapsedTime()-
Methods inherited from class org.gcube.data.analysis.nlphub.legacy.AsyncHttpRequest
getResult, run, setBaseUrl, setMethod, setParameters
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
WPS_EXECUTE_URL
public static final String WPS_EXECUTE_URL
- See Also:
- Constant Field Values
-
WPS_DESCRIBE_PROCESS_URL
public static final String WPS_DESCRIBE_PROCESS_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElapsedTime
public long getElapsedTime()
-
asyncHttpRequestCallback
public void asyncHttpRequestCallback()
- Overrides:
asyncHttpRequestCallbackin classAsyncHttpRequest
-
-