Package | Description |
---|---|
org.apache.edgent.apps.runtime |
Applications which provide monitoring and failure recovery to other
Edgent applications.
|
org.apache.edgent.execution |
Execution of Edgent topologies and graphs.
|
org.apache.edgent.execution.services |
Execution services.
|
org.apache.edgent.graph.spi.execution | |
org.apache.edgent.providers.development |
Execution of a streaming topology in a development environment .
|
org.apache.edgent.providers.direct |
Direct execution of a streaming topology.
|
org.apache.edgent.providers.iot |
Iot provider that allows multiple applications to
share an
IotDevice . |
org.apache.edgent.runtime.appservice | |
org.apache.edgent.runtime.etiao |
A runtime for executing an Edgent streaming topology, designed as an embeddable library
so that it can be executed in a simple Java application.
|
org.apache.edgent.runtime.jobregistry | |
org.apache.edgent.samples.connectors |
General support for connector samples.
|
org.apache.edgent.topology.spi.tester | |
org.apache.edgent.topology.tester |
Testing for a streaming topology.
|
Modifier and Type | Method and Description |
---|---|
Job |
JobMonitorApp.submit()
Submits the application topology.
|
Constructor and Description |
---|
JobMonitorApp(TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
java.lang.String name)
Constructs a
JobMonitorApp with the specified name in the
context of the specified provider. |
Modifier and Type | Interface and Description |
---|---|
interface |
DirectSubmitter<E,J extends Job>
An interface for submission of an executable
that is executed directly within the current
virtual machine.
|
interface |
Submitter<E,J extends Job>
An interface for submission of an executable.
|
Modifier and Type | Method and Description |
---|---|
Job |
JobRegistryService.getJob(java.lang.String id)
Returns a job given its identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
JobRegistryService.addJob(Job job)
Adds the specified job.
|
boolean |
JobRegistryService.updateJob(Job job)
Notifies listeners that the specified registered job has
been updated.
|
Modifier and Type | Method and Description |
---|---|
void |
JobRegistryService.addListener(BiConsumer<JobRegistryService.EventType,Job> listener)
Adds a handler to a collection of listeners that will be notified
on job registration and state changes.
|
boolean |
JobRegistryService.removeListener(BiConsumer<JobRegistryService.EventType,Job> listener)
Removes a handler from this registry's collection of listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphJob
Placeholder for a skeletal implementation of the
Job interface,
to minimize the effort required to implement the interface. |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Job> |
DevelopmentProvider.submit(Topology topology,
com.google.gson.JsonObject config) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Job> |
DirectProvider.submit(Topology topology) |
java.util.concurrent.Future<Job> |
DirectProvider.submit(Topology topology,
com.google.gson.JsonObject config) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Job> |
IotProvider.submit(Topology topology)
Submit an executable.
|
java.util.concurrent.Future<Job> |
IotProvider.submit(Topology topology,
com.google.gson.JsonObject config)
Submit an executable.
|
Constructor and Description |
---|
IotProvider(java.lang.String name,
TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider . |
Modifier and Type | Method and Description |
---|---|
static ApplicationService |
AppService.createAndRegister(TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter)
Create an register an application service using the default alias
ApplicationService.ALIAS . |
Constructor and Description |
---|
AppService(TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
java.lang.String alias)
Create an
ApplicationService instance. |
Modifier and Type | Class and Description |
---|---|
class |
EtiaoJob
Etiao runtime implementation of the
Job interface. |
Modifier and Type | Method and Description |
---|---|
Job |
Executable.createJob(Graph graph,
java.lang.String topologyName,
java.lang.String jobName) |
Modifier and Type | Method and Description |
---|---|
Job |
JobRegistry.getJob(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
JobRegistry.addJob(Job job) |
boolean |
JobRegistry.updateJob(Job job) |
Modifier and Type | Method and Description |
---|---|
void |
JobRegistry.addListener(BiConsumer<JobRegistryService.EventType,Job> listener) |
boolean |
JobRegistry.removeListener(BiConsumer<JobRegistryService.EventType,Job> listener) |
static <T> TStream<T> |
JobEvents.source(Topology topology,
BiFunction<JobRegistryService.EventType,Job,T> wrapper)
Declares a stream populated by
JobRegistryService events. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Util.awaitState(Job job,
Job.State state,
long timeout,
java.util.concurrent.TimeUnit unit)
Wait for the job to reach the specified state.
|
Modifier and Type | Method and Description |
---|---|
Job |
AbstractTester.getJob() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractTester.complete(Submitter<Topology,? extends Job> submitter,
com.google.gson.JsonObject config,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
Job |
Tester.getJob()
Get the
Job reference for the topology submitted by complete() . |
Modifier and Type | Method and Description |
---|---|
boolean |
Tester.complete(Submitter<Topology,? extends Job> submitter,
com.google.gson.JsonObject config,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit)
Submit the topology for this tester and wait for it to complete, or reach
an end condition.
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641