|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.appinfo.LeaseInfo
public class LeaseInfo
Represents the lease information with Eureka.
Eureka decides to remove the instance out of its view depending on
the duration that is set in
EurekaInstanceConfig.getLeaseExpirationDurationInSeconds() which is
held in this lease. The lease also tracks the last time it was renewed.
| Nested Class Summary | |
|---|---|
static class |
LeaseInfo.Builder
|
| Field Summary | |
|---|---|
static int |
DEFAULT_LEASE_DURATION
|
static int |
DEFAULT_LEASE_RENEWAL_INTERVAL
|
| Method Summary | |
|---|---|
int |
getDurationInSecs()
Returns client specified setting for eviction (e.g. |
long |
getEvictionTimestamp()
Returns the de-registration timestamp |
long |
getRegistrationTimestamp()
Returns the registration timestamp |
int |
getRenewalIntervalInSecs()
Returns client specified setting for renew interval |
long |
getRenewalTimestamp()
Returns the last renewal timestamp of lease |
long |
getServiceUpTimestamp()
Returns the service UP timestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_LEASE_RENEWAL_INTERVAL
public static final int DEFAULT_LEASE_DURATION
| Method Detail |
|---|
public long getRegistrationTimestamp()
public long getRenewalTimestamp()
public long getEvictionTimestamp()
public long getServiceUpTimestamp()
public int getRenewalIntervalInSecs()
public int getDurationInSecs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||