PartitionManagerOptions.setLeaseDurationInSeconds(int duration) 方法

定义

Sets the duration after which a partition lease will expire unless renewed. Must be greater than 0 and should not be less than the renew interval. When using the default, Azure Storage-based ILeaseManager, the duration cannot be greater than 60.

public void setLeaseDurationInSeconds(int duration)

参数

duration
int

new value for lease duration

适用于