Package com.spotify.fmt
Class ForkingExecutor.Execution<T>
java.lang.Object
com.spotify.fmt.ForkingExecutor.Execution<T>
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
ForkingExecutor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
executor
-
tempdir
-
workdir
-
closureFile
-
resultFile
-
errorFile
-
home
-
java
-
classpath
-
f
-
process
-
-
Constructor Details
-
Execution
Execution(List<String> classpath, SerializableCallable<T> f) throws IOException - Throws:
IOException
-
-
Method Details
-
start
void start() -
waitFor
T waitFor() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-