Class AzureStoragePartitionManagerOptions
- java.lang.Object
-
- com.microsoft.azure.eventprocessorhost.PartitionManagerOptions
-
- com.microsoft.azure.eventprocessorhost.AzureStoragePartitionManagerOptions
-
public final class AzureStoragePartitionManagerOptions extends PartitionManagerOptions
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.eventprocessorhost.PartitionManagerOptions
checkpointTimeoutInSeconds, DefaultCheckpointTimeoutInSeconds, DefaultFastScanIntervalInSeconds, DefaultLeaseDurationInSeconds, DefaultLeaseRenewIntervalInSeconds, DefaultSlowScanIntervalInSeconds, DefaultStartupScanDelayInSeconds, fastScanIntervalInSeconds, leaseDurationInSeconds, leaseRenewIntervalInSeconds, slowScanIntervalInSeconds, startupScanDelayInSeconds
-
-
Constructor Summary
Constructors Constructor Description AzureStoragePartitionManagerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLeaseDurationInSeconds(int duration)
Sets the duration after which a partition lease will expire unless renewed.-
Methods inherited from class com.microsoft.azure.eventprocessorhost.PartitionManagerOptions
getCheckpointTimeoutInSeconds, getFastScanIntervalInSeconds, getLeaseDurationInSeconds, getLeaseRenewIntervalInSeconds, getSlowScanIntervalInSeconds, getStartupScanDelayInSeconds, setCheckpointTimeoutInSeconds, setFastScanIntervalInSeconds, setLeaseRenewIntervalInSeconds, setSlowScanIntervalInSeconds, setStartupScanDelayInSeconds
-
-
-
-
Method Detail
-
setLeaseDurationInSeconds
public void setLeaseDurationInSeconds(int duration)
Description copied from class:PartitionManagerOptions
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.- Overrides:
setLeaseDurationInSeconds
in classPartitionManagerOptions
- Parameters:
duration
- new value for lease duration
-
-