| Package | Description |
|---|---|
| com.microsoft.azure.eventhubs | |
| com.microsoft.azure.eventhubs.impl |
| Modifier and Type | Method and Description |
|---|---|
static EventData |
EventData.create(byte[] data)
Construct EventData to Send to EventHubs.
|
static EventData |
EventData.create(byte[] data,
int offset,
int length)
Construct EventData to Send to EventHubs.
|
static EventData |
EventData.create(ByteBuffer buffer)
Construct EventData to Send to EventHubs.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Iterable<EventData>> |
PartitionReceiver.receive(int maxEventCount)
Receive a batch of
EventData's from an EventHub partition |
default Iterable<EventData> |
PartitionReceiver.receiveSync(int maxEventCount)
Synchronous version of
PartitionReceiver.receive(int). |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
PartitionSender.send(EventData data)
Send
EventData to a specific EventHub partition. |
CompletableFuture<Void> |
EventHubClient.send(EventData data)
Send
EventData to EventHub. |
CompletableFuture<Void> |
EventHubClient.send(EventData eventData,
String partitionKey)
Send an '
EventData with a partitionKey' to EventHub. |
default void |
PartitionSender.sendSync(EventData data)
Synchronous version of
PartitionSender.send(EventData) Api. |
default void |
EventHubClient.sendSync(EventData data)
Synchronous version of
EventHubClient.send(EventData). |
default void |
EventHubClient.sendSync(EventData eventData,
String partitionKey)
Synchronous version of
EventHubClient.send(EventData, String). |
boolean |
EventDataBatch.tryAdd(EventData eventData)
Add's
EventData to EventDataBatch, if permitted by the batch's size limit. |
| Modifier and Type | Method and Description |
|---|---|
void |
PartitionReceiveHandler.onReceive(Iterable<EventData> events)
user should implement this method to specify the action to be performed on the received events.
|
CompletableFuture<Void> |
PartitionSender.send(Iterable<EventData> eventDatas)
Send
EventData to a specific EventHub partition. |
CompletableFuture<Void> |
EventHubClient.send(Iterable<EventData> eventDatas)
Send a batch of
EventData to EventHub. |
CompletableFuture<Void> |
EventHubClient.send(Iterable<EventData> eventDatas,
String partitionKey)
Send a 'batch of
EventData with the same partitionKey' to EventHub. |
default void |
PartitionSender.sendSync(Iterable<EventData> eventDatas)
Synchronous version of
PartitionSender.send(Iterable) . |
default void |
EventHubClient.sendSync(Iterable<EventData> eventDatas)
Synchronous version of
EventHubClient.send(Iterable). |
default void |
EventHubClient.sendSync(Iterable<EventData> eventDatas,
String partitionKey)
Synchronous version of
EventHubClient.send(Iterable, String). |
| Modifier and Type | Class and Description |
|---|---|
class |
EventDataImpl |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Iterable<EventData>> |
ReceivePump.IPartitionReceiver.receive(int maxBatchSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
EventDataImpl.compareTo(EventData other) |
CompletableFuture<Void> |
EventHubClientImpl.send(EventData data) |
CompletableFuture<Void> |
EventHubClientImpl.send(EventData eventData,
String partitionKey) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
EventHubClientImpl.send(Iterable<EventData> eventDatas) |
CompletableFuture<Void> |
EventHubClientImpl.send(Iterable<EventData> eventDatas,
String partitionKey) |
Copyright © 2019. All rights reserved.