azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.ChangeFeed...

26 строки
1.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.ChangeFeedProcessorContext"
fullName: "com.azure.cosmos.ChangeFeedProcessorContext"
name: "ChangeFeedProcessorContext"
nameWithType: "ChangeFeedProcessorContext"
summary: "Encapsulates properties which are mapped to a batch of change feed documents processed when <xref uid=\"com.azure.cosmos.ChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessorBuilder#handleAllVersionsAndDeletesChanges(BiConsumer)\"></xref> lambda is invoked."
syntax: "public interface **ChangeFeedProcessorContext**"
methods:
- uid: "com.azure.cosmos.ChangeFeedProcessorContext.getLeaseToken()"
fullName: "com.azure.cosmos.ChangeFeedProcessorContext.getLeaseToken()"
name: "getLeaseToken()"
nameWithType: "ChangeFeedProcessorContext.getLeaseToken()"
summary: "Gets the lease token corresponding to the source of a batch of change feed documents."
modifiers:
- "abstract"
syntax: "public abstract String getLeaseToken()"
desc: "Gets the lease token corresponding to the source of a batch of change feed documents."
returns:
description: "the lease token"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "interface"
desc: "Encapsulates properties which are mapped to a batch of change feed documents processed when <xref uid=\"com.azure.cosmos.ChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessorBuilder#handleAllVersionsAndDeletesChanges(BiConsumer)\"></xref> lambda is invoked.\n\nNOTE: This interface is not designed to be implemented by end users."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.63.3