public enum PushSessionEndReason extends Enum<PushSessionEndReason>
Modifier and Type | Field and Description |
---|---|
boolean |
sendEndSessionRequest |
Modifier and Type | Method and Description |
---|---|
static PushSessionEndReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushSessionEndReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushSessionEndReason MEMORY_BUFFER_EXHAUSTED
public static final PushSessionEndReason NEW_CLUSTER_LINK
public static final PushSessionEndReason NEW_LEADER_EPOCH
public static final PushSessionEndReason NEW_REPLICA_EPOCH_OR_REPLICATION_SESSION
public static final PushSessionEndReason PARTITION_OFFLINE_OR_DELETED
public static final PushSessionEndReason REPLICA_NOT_IN_ISR
public static final PushSessionEndReason REPLICA_REMOVED_FROM_ASSIGNMENT
public static final PushSessionEndReason REPLICA_SHUTDOWN
public static final PushSessionEndReason REQUEST_NON_RETRIABLE_ERROR
public static final PushSessionEndReason REQUEST_RETRIABLE_ERROR
public static final PushSessionEndReason LEADER_REPLICATION_ERROR
public static PushSessionEndReason[] values()
for (PushSessionEndReason c : PushSessionEndReason.values()) System.out.println(c);
public static PushSessionEndReason 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 null