public class Sensor1
extends java.lang.Object
This sample demonstrates some common continuous sensor analytic themes.
In this case we have a simulated sensor producing 1000 samples per second of an integer type in the range of 0-255.
The processing pipeline created is roughly:
The sample also demonstrates:
TStream.tag(String...)
to improve information provided by
the Edgent DevelopmentProvider console.Constructor and Description |
---|
Sensor1(Topology t,
SensorAnalyticsApplication app) |
Modifier and Type | Method and Description |
---|---|
void |
addAnalytics()
Add the sensor's analytics to the topology.
|
public Sensor1(Topology t, SensorAnalyticsApplication app)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641