public class EventReceiverFirehoseTestClient extends Object
| Constructor and Description |
|---|
EventReceiverFirehoseTestClient(String host,
String chatID,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.metamx.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
int |
postEvents(Collection<Map<String,Object>> events)
post events from the collection and return the count of events accepted
|
int |
postEventsFromFile(String file) |
public int postEvents(Collection<Map<String,Object>> events)
events - Collection of events to be postedpublic int postEventsFromFile(String file)
Copyright © 2015. All rights reserved.