Uses of Class
com.azure.cosmos.models.ChangeFeedProcessorOptions
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of ChangeFeedProcessorOptions in com.azure.cosmos
Modifier and TypeMethodDescriptionChangeFeedProcessorBuilder.options
(ChangeFeedProcessorOptions changeFeedProcessorOptions) Sets theChangeFeedProcessorOptions
to be used. -
Uses of ChangeFeedProcessorOptions in com.azure.cosmos.models
Modifier and TypeMethodDescriptionChangeFeedProcessorOptions.setFeedPollDelay
(Duration feedPollDelay) Sets the delay in between polling a partition for new changes on the feed, after all current changes are drained.ChangeFeedProcessorOptions.setFeedPollThroughputControlConfig
(ThroughputControlGroupConfig feedPollThroughputControlGroupConfig) Set the feed poll local throughput control config.ChangeFeedProcessorOptions.setLeaseAcquireInterval
(Duration leaseAcquireInterval) Sets he interval to kick off a task to compute if partitions are distributed evenly among known host instances.ChangeFeedProcessorOptions.setLeaseExpirationInterval
(Duration leaseExpirationInterval) Sets the interval for which the lease is taken on a lease representing a partition.ChangeFeedProcessorOptions.setLeasePrefix
(String leasePrefix) Sets a prefix to be used as part of the lease ID.ChangeFeedProcessorOptions.setLeaseRenewInterval
(Duration leaseRenewInterval) Sets the renew interval for all leases for partitions currently held byChangeFeedProcessor
instance.ChangeFeedProcessorOptions.setMaxItemCount
(int maxItemCount) Sets the maximum number of items to be returned in the enumeration operation.ChangeFeedProcessorOptions.setMaxScaleCount
(int maxScaleCount) Sets the maximum number of partitions (parallel workers) the host can run.ChangeFeedProcessorOptions.setMinScaleCount
(int minScaleCount) Sets the minimum partition count (parallel workers) for the current host.ChangeFeedProcessorOptions.setScheduler
(Scheduler scheduler) Sets the internalScheduler
that hosts a pool of ExecutorService-based workers for any change feed processor related tasks.ChangeFeedProcessorOptions.setStartContinuation
(String startContinuation) Sets the start request continuation token to start looking for changes after.ChangeFeedProcessorOptions.setStartFromBeginning
(boolean startFromBeginning) Sets a value indicating whether change feed in the Azure Cosmos DB service should start from beginning.ChangeFeedProcessorOptions.setStartTime
(Instant startTime) Sets the time (exclusive) to start looking for changes after (UTC time).