public static enum ConsumerConfiguration.DurationChangeHelper extends java.lang.Enum<ConsumerConfiguration.DurationChangeHelper>
| Enum Constant and Description |
|---|
ACK_WAIT |
| Modifier and Type | Field and Description |
|---|---|
java.time.Duration |
Min |
long |
MinNanos |
java.time.Duration |
Unset |
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
forBuilder(java.time.Duration proposed) |
java.time.Duration |
getOrUnset(java.time.Duration val) |
static ConsumerConfiguration.DurationChangeHelper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerConfiguration.DurationChangeHelper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
wouldBeChange(java.time.Duration user,
java.time.Duration server) |
public static final ConsumerConfiguration.DurationChangeHelper ACK_WAIT
public final java.time.Duration Min
public final java.time.Duration Unset
public final long MinNanos
public static ConsumerConfiguration.DurationChangeHelper[] values()
for (ConsumerConfiguration.DurationChangeHelper c : ConsumerConfiguration.DurationChangeHelper.values()) System.out.println(c);
public static ConsumerConfiguration.DurationChangeHelper valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.time.Duration getOrUnset(java.time.Duration val)
public boolean wouldBeChange(java.time.Duration user,
java.time.Duration server)
public java.time.Duration forBuilder(java.time.Duration proposed)