Interface RgProcess
-
- All Known Subinterfaces:
RgMainProcess
,RgWorkerProcess
- All Known Implementing Classes:
AbstractRgProcess
,RgMainProcessImpl
,RgWorkerProcessImpl
public interface RgProcess
Crestes and represent remote RG process.- Author:
- vjuranek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
NodeRunner
createRunner()
CompletableFuture<Integer>
getProcessFuture()
void
start(ExecutorService executorService)
int
waitForResult()
-
-
-
Method Detail
-
createRunner
NodeRunner createRunner() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
start
void start(ExecutorService executorService) throws IllegalStateException
- Throws:
IllegalStateException
-
getProcessFuture
CompletableFuture<Integer> getProcessFuture()
-
waitForResult
int waitForResult() throws ExecutionException, InterruptedException
-
cancel
void cancel()
-
-