Class ReceivePump
- java.lang.Object
-
- com.microsoft.azure.eventhubs.impl.ReceivePump
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReceivePump.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 boolean
isRunning()
void
receiveAndProcess()
void
run()
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()
-
-