com.snowplowanalytics.snowplow.scalatracker.emitters
User-provided callback
Collector refused an event.
Collector refused an event. Probably wrong endpoint or outage
Collector preferences
Payload (either GET or POST) ready to be send to collector
ADT for possible track results
Success.
Success. Collector accepted an event
Low-level representation of event
Single event, supposed to passed with GET-request
Multiple events, supposed to passed with POST-request
Emitter cannot continue retrying.
Emitter cannot continue retrying. Note that this is not *response*
Other failure.
Other failure. Timeout or network unavailability
Schedule re-adding of a failed event to queue after some delay.
Schedule re-adding of a failed event to queue after some delay. Delay is calculated based on number of undertaken attempts
Transform implementation-specific response into tracker-specific
Asynchronously execute user-provided callback against event and collector response If callback fails to execute - message will be printed to stderr
Asynchronously execute user-provided callback against event and collector response If callback fails to execute - message will be printed to stderr
thread pool to asynchronously execute callback
collector parameters
user-provided callback
latest *sent* payload
latest result
Update sent-timestamp and attempt an HTTP request
Update sent-timestamp and attempt an HTTP request
thread pool to send HTTP requests to collector
endpoint preferences
either GET or POST payload
Attempt a HTTP request.
Attempt a HTTP request. Return request back to queue if it was unsuccessful and invoke callback.
reference to queue, where event can be re-added in case of unsuccessful delivery
thread pool to send HTTP requests to collector
endpoint preferences
either GET or POST payload