public class DevelopmentProvider extends DirectProvider
DirectProvider
and extends it by:
ControlService
that registers control management
beans in the platform MBean server.
Metrics.counter(Topology)
to insert
CounterOp
oplets into each stream.
StreamScope
oplets on all the streams before submitting a topology.
See StreamScopeSetup.addStreamscopes
.
StreamScopeRegistry
runtime service and a
StreamScopeRegistryMXBean
management bean to the ControlService
.
See StreamScopeSetup.register
.
StreamScopeRegistry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JMX_DOMAIN
JMX domains that this provider uses to register MBeans.
|
Constructor and Description |
---|
DevelopmentProvider() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Job> |
submit(Topology topology,
com.google.gson.JsonObject config)
Submit an executable.
|
getServices, newTopology, submit
newTopology
public static final java.lang.String JMX_DOMAIN
public DevelopmentProvider() throws java.lang.Exception
java.lang.Exception
public java.util.concurrent.Future<Job> submit(Topology topology, com.google.gson.JsonObject config)
Submitter
submit
in interface Submitter<Topology,Job>
submit
in class DirectProvider
topology
- executable to submitconfig
- context information for the submissionCopyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641