public enum StreamDeletionPolicy extends Enum<StreamDeletionPolicy> implements ProtocolKeyword
| Enum Constant and Description |
|---|
ACKNOWLEDGED
Only operates on entries that were read and acknowledged by all consumer groups.
|
DELETE_REFERENCES
Removes all references to entries from all consumer groups' pending entry lists, effectively cleaning up all traces of
the messages.
|
KEEP_REFERENCES
Preserves existing references to entries in all consumer groups' PEL.
|
| Modifier and Type | Field and Description |
|---|---|
byte[] |
bytes |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
static StreamDeletionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamDeletionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, toStringpublic static final StreamDeletionPolicy KEEP_REFERENCES
public static final StreamDeletionPolicy DELETE_REFERENCES
public static final StreamDeletionPolicy ACKNOWLEDGED
public static StreamDeletionPolicy[] values()
for (StreamDeletionPolicy c : StreamDeletionPolicy.values()) System.out.println(c);
public static StreamDeletionPolicy 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 byte[] getBytes()
getBytes in interface ProtocolKeywordCopyright © 2025 lettuce.io. All rights reserved.