public enum RotationMode extends Enum<RotationMode>
| Enum Constant and Description |
|---|
count
Rotation is based on number of records.
|
daily
Rotation happens with the first message after midnight UTC
|
hourly
Rotation happens with the first message after every hour.
|
interval
Rotation is controlled by the
rotationInterval parameter. |
none
Rotation is disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static RotationMode |
lookup(String value)
Finds the rotation mode corresponding to a passed string (case-insensitive).
|
static RotationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RotationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationMode none
public static final RotationMode count
public static final RotationMode interval
rotationInterval parameter.public static final RotationMode hourly
public static final RotationMode daily
public static RotationMode[] values()
for (RotationMode c : RotationMode.values()) System.out.println(c);
public static RotationMode 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 static RotationMode lookup(String value)
none.Copyright © 2018. All rights reserved.