public final class LocalForwarderTelemetryTransmitterFactory extends java.lang.Object implements ConfiguredTransmitterFactory<Telemetry>
Constructor and Description |
---|
LocalForwarderTelemetryTransmitterFactory() |
Modifier and Type | Method and Description |
---|---|
TelemetriesTransmitter<Telemetry> |
create(java.lang.String endpoint,
java.lang.String maxTransmissionStorageCapacity,
boolean throttlingIsEnabled,
int maxInstantRetries)
|
TelemetriesTransmitter<Telemetry> |
create(TelemetryConfiguration configuration,
java.lang.String maxTransmissionStorageCapacity,
boolean throttlingIsEnabled,
int maxInstantRetries)
Either
configuration or endpoint could be null, but one must be non-null. |
public LocalForwarderTelemetryTransmitterFactory()
@Deprecated public TelemetriesTransmitter<Telemetry> create(java.lang.String endpoint, java.lang.String maxTransmissionStorageCapacity, boolean throttlingIsEnabled, int maxInstantRetries)
TransmitterFactory
TelemetriesTransmitter
for use by the TelemetryChannel
create
in interface TransmitterFactory<Telemetry>
endpoint
- HTTP Endpoint to send telemetry tomaxTransmissionStorageCapacity
- Max amount of disk space in KB for persistent storage to usethrottlingIsEnabled
- Allow the network telemetry sender to be throttledmaxInstantRetries
- Number of instant retries in case of a temporary network outageTelemetriesTransmitter
objectpublic TelemetriesTransmitter<Telemetry> create(TelemetryConfiguration configuration, java.lang.String maxTransmissionStorageCapacity, boolean throttlingIsEnabled, int maxInstantRetries)
ConfiguredTransmitterFactory
configuration
or endpoint
could be null, but one must be non-null.create
in interface ConfiguredTransmitterFactory<Telemetry>
configuration
- The configuration for the current TelemetryClientmaxTransmissionStorageCapacity
- n/athrottlingIsEnabled
- n/amaxInstantRetries
- n/a