flush

public final static void flush(int timeoutMilliseconds)

Waits up to for any in-flight telemetry sends to complete. Strategy-dependent: a no-op for the default channel strategy, blocking for the parallel-send strategy.