Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,11 @@ public ChangeFeedProcessorBuilder WithLeaseContainer(Container leaseContainer)

/// <summary>
/// Uses an in-memory container to maintain state of the leases
/// </summary>
/// <remarks>
///
/// Using an in-memory container restricts the scaling capability to just the instance running the current processor.
/// </remarks>
/// </summary>
/// <returns>The instance of <see cref="ChangeFeedProcessorBuilder"/> to use.</returns>
internal virtual ChangeFeedProcessorBuilder WithInMemoryLeaseContainer()
public virtual ChangeFeedProcessorBuilder WithInMemoryLeaseContainer()
{
if (this.leaseContainer != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,11 @@
"Attributes": [],
"MethodInfo": "Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithErrorNotification(ChangeFeedMonitorErrorDelegate);IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
},
"Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithInMemoryLeaseContainer()": {
"Type": "Method",
"Attributes": [],
"MethodInfo": "Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithInMemoryLeaseContainer();IsAbstract:False;IsStatic:False;IsVirtual:True;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
},
"Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithInstanceName(System.String)": {
"Type": "Method",
"Attributes": [],
Expand Down
Loading