Package com.azure.cosmos
Interface ChangeFeedProcessorContext
public interface ChangeFeedProcessorContext
Encapsulates properties which are mapped to a batch of change feed documents
processed when
NOTE: This interface is not designed to be implemented by end users.
ChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges(BiConsumer)
lambda is invoked.
NOTE: This interface is not designed to be implemented by end users.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CosmosDiagnosticsContextGet the diagnostics context from the underlying feed response.Gets the lease token corresponding to the source of a batch of change feed documents.
-
Method Details
-
getLeaseToken
String getLeaseToken()Gets the lease token corresponding to the source of a batch of change feed documents.- Returns:
- the lease token
-
getDiagnostics
Get the diagnostics context from the underlying feed response.- Returns:
- The diagnostics object.
-