public class SimulatedSensors
extends java.lang.Object
Constructor and Description |
---|
SimulatedSensors() |
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
burstySensor(Topology topology,
java.lang.String name)
Create a stream of simulated bursty sensor readings.
|
public static TStream<com.google.gson.JsonObject> burstySensor(Topology topology, java.lang.String name)
name
- Name of the sensor from name
.reading
- Value.topology
- Topology to be added to.name
- Name of the sensor in the JSON output.Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641