public class HttpAsyncEventSender extends EventSender
| Constructor and Description |
|---|
HttpAsyncEventSender(FoxtrotClientConfig config,
IFoxtrotCluster client,
EventSerializationHandler serializationHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
send(Document document) |
void |
send(List<Document> documents) |
void |
send(String table,
byte[] payload) |
void |
send(String table,
Document document) |
void |
send(String table,
List<Document> documents) |
getSerializationHandlerpublic HttpAsyncEventSender(FoxtrotClientConfig config, IFoxtrotCluster client, EventSerializationHandler serializationHandler)
public void send(Document document) throws Exception
send in class EventSenderExceptionpublic void send(String table, Document document) throws Exception
send in class EventSenderExceptionpublic void send(List<Document> documents) throws Exception
send in class EventSenderExceptionpublic void send(String table, List<Document> documents) throws Exception
send in class EventSenderExceptionpublic void close()
throws Exception
close in class EventSenderExceptionpublic void send(String table, byte[] payload)
Copyright © 2020. All rights reserved.