InMemoryLeaseManager.getLeaseRenewIntervalInMilliseconds Method

Definition

The lease renew interval is used by PartitionManager to determine how often it should scan leases and renew them. In order to redistribute leases in a timely fashion after a host ceases operating, we recommend a relatively short interval, such as ten seconds. Obviously it should be less than half of the lease length, to prevent accidental expiration.

public int getLeaseRenewIntervalInMilliseconds()
Returns
int

The sleep interval between scans, specified in milliseconds.

Overrides