public enum EurekaLoopSleepTime extends Enum<EurekaLoopSleepTime> implements org.refcodes.mixin.MillisecondsAccessor
org.refcodes.mixin.MillisecondsAccessor.MillisecondsBuilder<B extends org.refcodes.mixin.MillisecondsAccessor.MillisecondsBuilder<B>>, org.refcodes.mixin.MillisecondsAccessor.MillisecondsMutator, org.refcodes.mixin.MillisecondsAccessor.MillisecondsProperty
Enum Constant and Description |
---|
DISCOVERY_SERVICE_REFRESH |
REGISTRY_SERVICE_HEARBEAT |
Modifier and Type | Method and Description |
---|---|
int |
getMilliseconds() |
static EurekaLoopSleepTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EurekaLoopSleepTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EurekaLoopSleepTime REGISTRY_SERVICE_HEARBEAT
public static final EurekaLoopSleepTime DISCOVERY_SERVICE_REFRESH
public static EurekaLoopSleepTime[] values()
for (EurekaLoopSleepTime c : EurekaLoopSleepTime.values()) System.out.println(c);
public static EurekaLoopSleepTime valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getMilliseconds()
getMilliseconds
in interface org.refcodes.mixin.MillisecondsAccessor
Copyright © 2018. All rights reserved.