Modifier and Type | Method and Description |
---|---|
static ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.changeFeedProcessorBuilder()
Helper static method to buildAsyncClient
ChangeFeedProcessor instances
as logical representation of the Azure Cosmos DB database service. |
ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.BuilderDefinition.setFeedContainer(CosmosAsyncContainer feedContainer)
Sets and existing
CosmosAsyncContainer to be used to read from the monitored collection. |
ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.BuilderDefinition.setHandleChanges(Consumer<List<com.fasterxml.jackson.databind.JsonNode>> consumer)
Sets a consumer function which will be called to process changes.
|
ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.BuilderDefinition.setHostName(String hostName)
Sets the host name.
|
ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.BuilderDefinition.setLeaseContainer(CosmosAsyncContainer leaseContainer)
Sets an existing
CosmosAsyncContainer to be used to read from the leases collection. |
ChangeFeedProcessor.BuilderDefinition |
ChangeFeedProcessor.BuilderDefinition.setOptions(ChangeFeedProcessorOptions changeFeedProcessorOptions)
Sets the
ChangeFeedProcessorOptions to be used. |
Copyright © 2020 Microsoft Corporation. All rights reserved.