Package | Description |
---|---|
org.apache.edgent.apps.runtime |
Applications which provide monitoring and failure recovery to other
Edgent applications.
|
org.apache.edgent.connectors.command |
Command / OS Process connector.
|
org.apache.edgent.connectors.iotp |
IBM Watson IoT Platform stream connector.
|
org.apache.edgent.connectors.jdbc |
JDBC based database stream connector.
|
org.apache.edgent.connectors.kafka |
Apache Kafka enterprise messing hub stream connector.
|
org.apache.edgent.connectors.mqtt |
MQTT (lightweight messaging protocol for small sensors and mobile devices) stream connector.
|
org.apache.edgent.connectors.mqtt.iot |
An MQTT based IotDevice connector.
|
org.apache.edgent.connectors.wsclient.javax.websocket |
WebSocket Client Connector for sending and receiving messages to a WebSocket Server.
|
org.apache.edgent.metrics |
Metric utility methods, oplets, and reporters which allow an
application to expose metric values, for example via JMX.
|
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.jobregistry | |
org.apache.edgent.samples.apps |
Support for some more complex Edgent application samples.
|
org.apache.edgent.samples.apps.mqtt |
Base support for Edgent MQTT based application samples.
|
org.apache.edgent.samples.apps.sensorAnalytics |
The Sensor Analytics sample application demonstrates some common
continuous sensor analytic application themes.
|
org.apache.edgent.samples.connectors.kafka |
Samples showing use of the
Apache Kafka stream connector.
|
org.apache.edgent.samples.connectors.mqtt |
Samples showing use of the
MQTT stream connector.
|
org.apache.edgent.samples.console |
Samples showing use of the
Console web application.
|
org.apache.edgent.samples.topology |
Samples showing creating and executing basic topologies .
|
org.apache.edgent.samples.utils.sensor | |
org.apache.edgent.streamscope |
Stream Oscilloscope - package for instrumenting streams to capture tuples.
|
org.apache.edgent.test.svt.apps | |
org.apache.edgent.test.svt.apps.iotp | |
org.apache.edgent.topology |
Functional api to build a streaming topology.
|
org.apache.edgent.topology.services |
Services for topologies.
|
org.apache.edgent.topology.spi | |
org.apache.edgent.topology.spi.graph | |
org.apache.edgent.topology.spi.tester | |
org.apache.edgent.topology.tester |
Testing for a streaming topology.
|
Modifier and Type | Method and Description |
---|---|
protected Topology |
JobMonitorApp.declareTopology(java.lang.String name)
Declares the following topology:
|
Modifier and Type | Method and Description |
---|---|
static void |
JobMonitorApp.declareTopology(Topology t)
Populates the following 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 | Method and Description |
---|---|
static TStream<java.lang.String> |
CommandStreams.generate(Topology topology,
java.lang.ProcessBuilder cmd)
Create an endless
TStream<String> from a long running command's output. |
static TStream<java.util.List<java.lang.String>> |
CommandStreams.periodicSource(Topology topology,
java.lang.ProcessBuilder cmd,
long period,
java.util.concurrent.TimeUnit units)
Create a
TStream<String> from a periodically run command's output. |
Modifier and Type | Method and Description |
---|---|
Topology |
IotpDevice.topology() |
Modifier and Type | Method and Description |
---|---|
static IotpDevice |
IotpDevice.quickstart(Topology topology,
java.lang.String deviceId)
Create an
IotpDevice connector to the Quickstart service. |
Constructor and Description |
---|
IotpDevice(Topology topology,
java.io.File optionsFile)
Create a connector to the IBM Watson IoT Platform Bluemix service.
|
IotpDevice(Topology topology,
java.util.Properties options)
Create a connector to the IBM Watson IoT Platform Bluemix service with the device
specified by
options . |
Constructor and Description |
---|
JdbcStreams(Topology topology,
CheckedSupplier<javax.sql.DataSource> dataSourceFn,
CheckedFunction<javax.sql.DataSource,java.sql.Connection> connFn)
Create a connector that uses a JDBC
DataSource object to get
a database connection. |
Constructor and Description |
---|
KafkaConsumer(Topology t,
Supplier<java.util.Map<java.lang.String,java.lang.Object>> config)
Create a consumer connector for subscribing to Kafka topics
and creating tuples from the received messages.
|
KafkaProducer(Topology t,
Supplier<java.util.Map<java.lang.String,java.lang.Object>> config)
Create a producer connector for publishing tuples to Kafka topics.s
|
Modifier and Type | Method and Description |
---|---|
Topology |
MqttStreams.topology()
Get the
Topology the connector is associated with. |
Constructor and Description |
---|
MqttStreams(Topology topology,
java.lang.String url,
java.lang.String clientId)
Create a connector to the specified server.
|
MqttStreams(Topology topology,
Supplier<MqttConfig> config)
Create a connector with the specified configuration.
|
Modifier and Type | Method and Description |
---|---|
Topology |
MqttDevice.topology() |
Constructor and Description |
---|
MqttDevice(Topology topology,
java.util.Properties properties)
Create an MqttDevice connector.
|
MqttDevice(Topology topology,
java.util.Properties properties,
MqttConfig mqttConfig)
Create an MqttDevice connector.
|
Modifier and Type | Method and Description |
---|---|
Topology |
Jsr356WebSocketClient.topology() |
Constructor and Description |
---|
Jsr356WebSocketClient(Topology t,
java.util.Properties config)
Create a new Web Socket Client connector.
|
Jsr356WebSocketClient(Topology t,
java.util.Properties config,
Supplier<javax.websocket.WebSocketContainer> containerFn)
Create a new Web Socket Client connector.
|
Modifier and Type | Method and Description |
---|---|
static void |
Metrics.counter(Topology t)
Add counter metrics to all the topology's streams.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Job> |
DevelopmentProvider.submit(Topology topology,
com.google.gson.JsonObject config) |
Modifier and Type | Class and Description |
---|---|
class |
DirectTopology
DirectTopology is a GraphTopology that
is executed in threads in the current virtual machine. |
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 |
---|---|
Topology |
IotProvider.newTopology()
Create a new topology with a generated name.
|
Topology |
IotProvider.newTopology(java.lang.String name)
Create a new topology with a given name.
|
Modifier and Type | Method and Description |
---|---|
protected IotDevice |
IotProvider.createMessageHubDevice(Topology topology)
Create the connection to the message hub.
|
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(Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses its own DirectProvider . |
IotProvider(java.lang.String name,
DirectProvider provider,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses the passed in DirectProvider . |
IotProvider(java.lang.String name,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses its own DirectProvider . |
IotProvider(java.lang.String name,
TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider . |
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 . |
void |
AppService.registerTopology(java.lang.String applicationName,
BiConsumer<Topology,com.google.gson.JsonObject> builder) |
Constructor and Description |
---|
AppService(TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
java.lang.String alias)
Create an
ApplicationService instance. |
Modifier and Type | Method and Description |
---|---|
static <T> TStream<T> |
JobEvents.source(Topology topology,
BiFunction<JobRegistryService.EventType,Job,T> wrapper)
Declares a stream populated by
JobRegistryService events. |
Modifier and Type | Field and Description |
---|---|
protected Topology |
AbstractApplication.t |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractApplication.buildTopology(Topology t)
Build the application's topology.
|
protected void |
AbstractApplication.preBuildTopology(Topology t)
A hook for a subclass to do things prior to the invocation
of
AbstractApplication.buildTopology(Topology) . |
Modifier and Type | Method and Description |
---|---|
protected void |
DeviceCommsApp.buildTopology(Topology t) |
protected void |
AbstractMqttApplication.preBuildTopology(Topology t) |
Modifier and Type | Method and Description |
---|---|
protected void |
SensorAnalyticsApplication.buildTopology(Topology t) |
Constructor and Description |
---|
Sensor1(Topology t,
SensorAnalyticsApplication app) |
Modifier and Type | Method and Description |
---|---|
Topology |
PublisherApp.buildAppTopology()
Create a topology for the publisher application.
|
Topology |
SubscriberApp.buildAppTopology()
Create a topology for the subscriber application.
|
Modifier and Type | Method and Description |
---|---|
Topology |
PublisherApp.buildAppTopology()
Create a topology for the publisher application.
|
Topology |
SubscriberApp.buildAppTopology()
Create a topology for the subscriber application.
|
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
ConsoleWaterDetector.waterDetector(Topology topology,
int wellId)
Creates a TStream<JsonObject> for each sensor reading for each well.
|
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
SensorsAggregates.sensorsAB(Topology topology)
Create a stream containing two aggregates from two bursty
sensors A and B that only produces output when the sensors
(independently) are having a burst period out of their normal range.
|
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
SimulatedSensors.burstySensor(Topology topology,
java.lang.String name)
Create a stream of simulated bursty sensor readings.
|
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Boolean>> |
PeriodicRandomSensor.newBoolean(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextBoolean() . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,byte[]>> |
PeriodicRandomSensor.newBytes(Topology t,
long periodMsec,
int nBytes)
Create a periodic sensor stream with readings from
Random.nextBytes(byte[]) . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Double>> |
PeriodicRandomSensor.newDouble(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextDouble() . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Float>> |
PeriodicRandomSensor.newFloat(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextFloat() . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Double>> |
PeriodicRandomSensor.newGaussian(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextGaussian() . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Integer>> |
PeriodicRandomSensor.newInteger(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextInt() . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Integer>> |
PeriodicRandomSensor.newInteger(Topology t,
long periodMsec,
int bound)
Create a periodic sensor stream with readings from
Random.nextInt(int) . |
TStream<org.apache.commons.math3.util.Pair<java.lang.Long,java.lang.Long>> |
PeriodicRandomSensor.newLong(Topology t,
long periodMsec)
Create a periodic sensor stream with readings from
Random.nextLong() . |
Modifier and Type | Method and Description |
---|---|
static void |
StreamScopeSetup.addStreamScopes(Topology t)
Add StreamScope instances to the topology
|
Modifier and Type | Method and Description |
---|---|
protected void |
FleetManagementAnalyticsClientApplication.buildTopology(Topology t) |
Constructor and Description |
---|
GpsAnalyticsApplication(Topology t,
FleetManagementAnalyticsClientApplication app) |
ObdAnalyticsApplication(Topology t,
FleetManagementAnalyticsClientApplication app) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractIotpApplication.preBuildTopology(Topology topology) |
Modifier and Type | Method and Description |
---|---|
Topology |
TopologyProvider.newTopology()
Create a new topology with a generated name.
|
Topology |
TopologyProvider.newTopology(java.lang.String name)
Create a new topology with a given name.
|
Topology |
TopologyElement.topology()
Topology this element is contained in.
|
Modifier and Type | Method and Description |
---|---|
BiConsumer<Topology,com.google.gson.JsonObject> |
TopologyBuilder.getBuilder()
How the application is built.
|
Modifier and Type | Method and Description |
---|---|
void |
ApplicationService.registerTopology(java.lang.String applicationName,
BiConsumer<Topology,com.google.gson.JsonObject> builder)
Add a topology that can be started though a control mbean.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTopologyProvider<T extends Topology> |
class |
AbstractTStream<G extends Topology,T>
Abstract stream that uses the functional primitives to implement most
methods.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTopology<X extends Tester>
Topology implementation that uses the basic functions to implement most
sources streams.
|
Modifier and Type | Method and Description |
---|---|
Topology |
AbstractTopology.topology() |
Modifier and Type | Class and Description |
---|---|
class |
ConnectorStream<G extends Topology,T>
A stream that directly adds oplets to the graph.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphTopology<X extends Tester>
Topology implementation that provides basic functions for implementing
source streams backed by a
Graph . |
Modifier and Type | Method and Description |
---|---|
Topology |
AbstractTWindow.topology() |
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 |
---|---|
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