Class DokimosServerReporter

java.lang.Object
dev.dokimos.server.client.DokimosServerReporter
All Implemented Interfaces:
Reporter, AutoCloseable

public class DokimosServerReporter extends Object implements Reporter
An async HTTP implementation of Reporter that sends experiment results to a Dokimos server.

Items are queued and sent in batches by a background thread to reduce HTTP overhead. Batches are sent when either 10 items are queued or 500ms have passed since the first item in the batch.