public enum StreamDeletionPolicy extends java.lang.Enum<StreamDeletionPolicy> implements Rawable
| 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 | Method and Description |
|---|---|
byte[] |
getRaw()
Get byte array.
|
static StreamDeletionPolicy |
valueOf(java.lang.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, valueOfpublic 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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2025. All rights reserved.