public class BaseConsumeOptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseConsumeOptions.Builder<B,CO> |
| Modifier and Type | Field and Description |
|---|---|
protected int |
bytes |
static long |
DEFAULT_EXPIRES_IN_MS |
static int |
DEFAULT_MESSAGE_COUNT |
static int |
DEFAULT_THRESHOLD_PERCENT |
protected long |
expiresIn |
protected long |
idleHeartbeat |
static long |
MAX_EXPIRES_MILLIS |
static int |
MAX_IDLE_HEARTBEAT_PCT |
protected int |
messages |
static long |
MIN_EXPIRES_MILLS |
protected int |
thresholdPercent |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseConsumeOptions(BaseConsumeOptions.Builder b) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExpires() |
long |
getIdleHeartbeat() |
int |
getThresholdPercent() |
public static final int DEFAULT_MESSAGE_COUNT
public static final int DEFAULT_THRESHOLD_PERCENT
public static final long DEFAULT_EXPIRES_IN_MS
public static final long MIN_EXPIRES_MILLS
public static final long MAX_EXPIRES_MILLIS
public static final int MAX_IDLE_HEARTBEAT_PCT
protected final int messages
protected final int bytes
protected final long expiresIn
protected final long idleHeartbeat
protected final int thresholdPercent
protected BaseConsumeOptions(BaseConsumeOptions.Builder b)