Class ReceivePump
- java.lang.Object
-
- com.microsoft.azure.eventhubs.impl.ReceivePump
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReceivePump.IPartitionReceiver
-
Constructor Summary
Constructors Constructor Description ReceivePump(String eventHubName, String consumerGroupName, ReceivePump.IPartitionReceiver receiver, PartitionReceiveHandler receiveHandler, boolean invokeOnReceiveWithNoEvents, Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRunning()voidreceiveAndProcess()voidrun()CompletableFuture<Void>stop()
-
-
-
Constructor Detail
-
ReceivePump
public ReceivePump(String eventHubName, String consumerGroupName, ReceivePump.IPartitionReceiver receiver, PartitionReceiveHandler receiveHandler, boolean invokeOnReceiveWithNoEvents, Executor executor)
-
-
Method Detail
-
receiveAndProcess
public void receiveAndProcess()
-
stop
public CompletableFuture<Void> stop()
-
isRunning
public boolean isRunning()
-
-