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)
Submit an executable.
|
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(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 © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641