PartitionManagerOptions Class

 

Represents the options that control various aspects of partition distribution that occur within the EventProcessorHost instance.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ServiceBus.Messaging.PartitionManagerOptions

Syntax

public class PartitionManagerOptions
public ref class PartitionManagerOptions 
type PartitionManagerOptions = class end
Public Class PartitionManagerOptions

Constructors

Name Description
System_CAPS_pubmethod PartitionManagerOptions()

Initializes a new instance of the PartitionManagerOptions class.

Properties

Name Description
System_CAPS_pubproperty AcquireInterval

Gets or sets the interval at which the EventProcessorHost instance begins a task to determine whether partitions are distributed evenly among known host instances.

System_CAPS_pubpropertySystem_CAPS_static DefaultOptions

Creates an instance of PartitionManagerOptions with the following default values:RenewInterval: 10 seconds.AcquireInterval: 10 seconds.LeaseInterval: 30 seconds.

System_CAPS_pubproperty LeaseInterval

Gets or sets the interval at which the lease is created on an Azure Blob representing an Event Hubs partition. If the lease is not renewed within this interval, it expires, and ownership of the partition passes to another EventProcessorHost instance.

System_CAPS_pubproperty MaxReceiveClients

System_CAPS_pubproperty RenewInterval

Gets or sets the renewal interval for all leases for partitions currently held by the EventProcessorHost instance.

System_CAPS_pubproperty SkipBlobContainerCreation

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ServiceBus.Messaging Namespace

Return to top