public interface TelemetryChannel
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes the data that the channel might have internally.
|
boolean |
isDeveloperMode()
Gets value indicating whether this channel is in developer mode.
|
void |
send(Telemetry item)
Sends a Telemetry instance through the channel.
|
void |
setDeveloperMode(boolean value)
Sets value indicating whether this channel is in developer mode.
|
void |
setSampler(TelemetrySampler telemetrySampler)
Sets an optional Sampler that can sample out telemetries
|
void |
stop(long timeout,
java.util.concurrent.TimeUnit timeUnit)
Stops on going work
|
boolean isDeveloperMode()
void setDeveloperMode(boolean value)
value
- True for applying develoer modevoid send(Telemetry item)
item
- The Telemetry item to send.void stop(long timeout, java.util.concurrent.TimeUnit timeUnit)
timeout
- Time to try and stoptimeUnit
- The units of the 'timeout' parametervoid flush()
void setSampler(TelemetrySampler telemetrySampler)
telemetrySampler
- - The sampler