Serializable
, Comparable<RolloverFrequency>
public enum RolloverFrequency extends Enum<RolloverFrequency>
Enum Constant | Description |
---|---|
ANNUALLY |
Rollover annually.
|
DAILY |
Rollover daily.
|
EVERY_MILLISECOND |
Rollover every millisecond.
|
EVERY_MINUTE |
Rollover every minute.
|
EVERY_SECOND |
Rollover every second.
|
HOURLY |
Rollover every hour.
|
MONTHLY |
Rollover monthly.
|
WEEKLY |
Rollover weekly.
|
Modifier and Type | Method | Description |
---|---|---|
static RolloverFrequency |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static RolloverFrequency[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RolloverFrequency ANNUALLY
public static final RolloverFrequency MONTHLY
public static final RolloverFrequency WEEKLY
public static final RolloverFrequency DAILY
public static final RolloverFrequency HOURLY
public static final RolloverFrequency EVERY_MINUTE
public static final RolloverFrequency EVERY_SECOND
public static final RolloverFrequency EVERY_MILLISECOND
public static RolloverFrequency[] values()
for (RolloverFrequency c : RolloverFrequency.values()) System.out.println(c);
public static RolloverFrequency 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 © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.