public static enum ConsumerConfiguration.CcChangeHelper extends java.lang.Enum<ConsumerConfiguration.CcChangeHelper>
| Enum Constant and Description |
|---|
ACK_WAIT |
MAX_ACK_PENDING |
MAX_BATCH |
MAX_DELIVER |
MAX_PULL_WAITING |
RATE_LIMIT |
START_SEQ |
| Modifier and Type | Method and Description |
|---|---|
long |
comparable(java.time.Duration d) |
long |
comparable(java.lang.Long val) |
long |
initial() |
long |
min() |
long |
server() |
static ConsumerConfiguration.CcChangeHelper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerConfiguration.CcChangeHelper[] |
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 srvr) |
boolean |
wouldBeChange(java.lang.Long user,
java.lang.Long srvr) |
public static final ConsumerConfiguration.CcChangeHelper START_SEQ
public static final ConsumerConfiguration.CcChangeHelper MAX_DELIVER
public static final ConsumerConfiguration.CcChangeHelper RATE_LIMIT
public static final ConsumerConfiguration.CcChangeHelper MAX_ACK_PENDING
public static final ConsumerConfiguration.CcChangeHelper MAX_PULL_WAITING
public static final ConsumerConfiguration.CcChangeHelper MAX_BATCH
public static final ConsumerConfiguration.CcChangeHelper ACK_WAIT
public static ConsumerConfiguration.CcChangeHelper[] values()
for (ConsumerConfiguration.CcChangeHelper c : ConsumerConfiguration.CcChangeHelper.values()) System.out.println(c);
public static ConsumerConfiguration.CcChangeHelper 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 long min()
public long initial()
public long server()
public long comparable(java.lang.Long val)
public boolean wouldBeChange(java.lang.Long user,
java.lang.Long srvr)
public long comparable(java.time.Duration d)
public boolean wouldBeChange(java.time.Duration user,
java.time.Duration srvr)