Package io.helidon.integrations.eureka
Class LeaseInfoConfig.BuilderBase.LeaseInfoConfigImpl
java.lang.Object
io.helidon.integrations.eureka.LeaseInfoConfig.BuilderBase.LeaseInfoConfigImpl
- All Implemented Interfaces:
Prototype.Api
,LeaseInfoConfig
- Enclosing class:
LeaseInfoConfig.BuilderBase<BUILDER extends LeaseInfoConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends LeaseInfoConfig>
protected static class LeaseInfoConfig.BuilderBase.LeaseInfoConfigImpl
extends Object
implements LeaseInfoConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.eureka.LeaseInfoConfig
LeaseInfoConfig.Builder, LeaseInfoConfig.BuilderBase<BUILDER extends LeaseInfoConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends LeaseInfoConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LeaseInfoConfigImpl
(LeaseInfoConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
LeaseInfoConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
renewalIntervalInSecs
public int renewalIntervalInSecs()Description copied from interface:LeaseInfoConfig
The lease renewal interval in seconds; the default value is strongly recommended.- Specified by:
renewalIntervalInSecs
in interfaceLeaseInfoConfig
- Returns:
- the lease renewal interval in seconds
-
durationInSecs
public int durationInSecs()Description copied from interface:LeaseInfoConfig
The lease duration in seconds; the default value is strongly recommended.- Specified by:
durationInSecs
in interfaceLeaseInfoConfig
- Returns:
- the lease duration in seconds
-
toString
-
equals
-
hashCode
public int hashCode()
-