public class EventClientImpl extends Object implements EventClient
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static EventClientImpl |
create(org.apache.http.impl.client.CloseableHttpClient httpclient,
URI eventsRootTarget,
int maxQueueSize,
long flushIntervalMillis,
int waitBeforeShutdown) |
void |
flush()
the existence of this message in the queue triggers a send event in the consumer thread.
|
boolean |
track(Event event) |
public static EventClientImpl create(org.apache.http.impl.client.CloseableHttpClient httpclient, URI eventsRootTarget, int maxQueueSize, long flushIntervalMillis, int waitBeforeShutdown) throws URISyntaxException
URISyntaxExceptionpublic void flush()
public boolean track(Event event)
track in interface EventClientpublic void close()
close in interface EventClientCopyright © 2018. All rights reserved.