public enum BacklogLocation extends Enum<BacklogLocation>
| Enum Constant and Description |
|---|
BEGINNING
BEGINNING refers to the location of the oldest retained message.
|
END
END refers to the location past all currently published messages, skipping the entire message
backlog.
|
| Modifier and Type | Method and Description |
|---|---|
static BacklogLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BacklogLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BacklogLocation BEGINNING
public static final BacklogLocation END
public static BacklogLocation[] values()
for (BacklogLocation c : BacklogLocation.values()) System.out.println(c);
public static BacklogLocation 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 nullCopyright © 2022 Google LLC. All rights reserved.