public class LockExpiryConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPIRY_PERIOD_DURATION_SECONDS_KEY |
static String |
RENEWAL_INTERVAL_PERIOD_SECONDS_KEY |
| Constructor and Description |
|---|
LockExpiryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getExpiryPeriodDurationSeconds()
A amount of time since the last confirmation of lock state, during which lock should be treated as fully owned by the reported owner.
|
static long |
getRenewalIntervalInSeconds()
Time between periodical renewals of lease for all locks owned by this instance.
|
public static final String RENEWAL_INTERVAL_PERIOD_SECONDS_KEY
public static final String EXPIRY_PERIOD_DURATION_SECONDS_KEY
public static long getExpiryPeriodDurationSeconds()
beehive.lease.duration.seconds. Should never be smaller than value returned by getRenewalIntervalInSeconds().public static long getRenewalIntervalInSeconds()
getExpiryPeriodDurationSeconds().Copyright © 2019 Atlassian. All rights reserved.