Enum DeliverPolicy
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DeliverPolicy extends Enum<DeliverPolicy>
Deliver policy determines where to start delivering messages
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<DeliverPolicy>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLDeliver all available messages
LASTDeliver starting with the last message
NEWDeliver only new messages (from now)
BY_START_SEQUENCEStart at a specific sequence number
BY_START_TIMEStart at a specific time
LAST_PER_SUBJECTStart with the last message for each subject
-
Method Summary
Modifier and Type Method Description final Array<DeliverPolicy>values()Returns an array containing the constants of this enum type, in the order they're declared. final DeliverPolicyvalueOf(String value)Returns the enum constant of this type with the specified name. final EnumEntries<DeliverPolicy>getEntries()-
-
Method Detail
-
values
final Array<DeliverPolicy> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final DeliverPolicy valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getEntries
final EnumEntries<DeliverPolicy> getEntries()
-
-
-
-