E - the executable typeJ - the submitted executable's futurepublic interface Submitter<E,J extends Job>
The class implementing this interface is responsible for the semantics of this operation. e.g., an direct topology provider would run the topology as threads in the current jvm.
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<J> |
submit(E executable,
com.google.gson.JsonObject config)
Submit an executable.
|
java.util.concurrent.Future<J> |
submit(E executable)
Submit an executable.
|
java.util.concurrent.Future<J> submit(E executable)
submit(executable, new JsonObject()).executable - executable to submitjava.util.concurrent.Future<J> submit(E executable, com.google.gson.JsonObject config)
executable - executable to submitconfig - context information for the submissionCopyright IBM 2015,2016 - 2f6ad0e-20160307-0902