public static enum GLogRolloverStrategy.ExpirationStrategy extends java.lang.Enum<GLogRolloverStrategy.ExpirationStrategy>
Enum Constant | Description |
---|---|
NUMBER_OF_FILES |
The expiration is based on the number of files with the same log name in
the folder.
|
OFF |
The expiration is turned off.
|
TIME_BASED |
The expiration is based on the file age.
|
Modifier and Type | Method | Description |
---|---|---|
static GLogRolloverStrategy.ExpirationStrategy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static GLogRolloverStrategy.ExpirationStrategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLogRolloverStrategy.ExpirationStrategy OFF
public static final GLogRolloverStrategy.ExpirationStrategy NUMBER_OF_FILES
"<logfilename>.*.log"
is counted.public static final GLogRolloverStrategy.ExpirationStrategy TIME_BASED
public static GLogRolloverStrategy.ExpirationStrategy[] values()
for (GLogRolloverStrategy.ExpirationStrategy c : GLogRolloverStrategy.ExpirationStrategy.values()) System.out.println(c);
public static GLogRolloverStrategy.ExpirationStrategy 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 nullSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.