public enum MarkerType extends Enum<MarkerType>
| Enum Constant and Description |
|---|
REPLICATED_SUBSCRIPTION_SNAPSHOT |
REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST |
REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE |
REPLICATED_SUBSCRIPTION_UPDATE |
TXN_ABORT |
TXN_COMMIT |
TXN_COMMITTING |
UNKNOWN_MARKER |
| Modifier and Type | Field and Description |
|---|---|
static int |
REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE |
static int |
REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE |
static int |
REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE |
static int |
REPLICATED_SUBSCRIPTION_UPDATE_VALUE |
static int |
TXN_ABORT_VALUE |
static int |
TXN_COMMIT_VALUE |
static int |
TXN_COMMITTING_VALUE |
static int |
UNKNOWN_MARKER_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static MarkerType |
valueOf(int n) |
static MarkerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarkerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkerType UNKNOWN_MARKER
public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST
public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE
public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT
public static final MarkerType REPLICATED_SUBSCRIPTION_UPDATE
public static final MarkerType TXN_COMMITTING
public static final MarkerType TXN_COMMIT
public static final MarkerType TXN_ABORT
public static final int UNKNOWN_MARKER_VALUE
public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE
public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE
public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE
public static final int REPLICATED_SUBSCRIPTION_UPDATE_VALUE
public static final int TXN_COMMITTING_VALUE
public static final int TXN_COMMIT_VALUE
public static final int TXN_ABORT_VALUE
public static MarkerType[] values()
for (MarkerType c : MarkerType.values()) System.out.println(c);
public static MarkerType 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 getValue()
public static MarkerType valueOf(int n)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.