public static enum SegmentationConfig.SegmentationStrategy extends java.lang.Enum<SegmentationConfig.SegmentationStrategy>
Enum Constant | Description |
---|---|
OFF |
No segmentation of log file.
|
SIZE_KB |
The log file is divided into segments by size, which length (in KB) is
set by
SegmentationConfig.getSegment() . |
SIZE_MB |
The log file is divided into segments by size, which length (in MB) is
set by
SegmentationConfig.getSegment() . |
TIME_BASED |
The log file is divided into segments by time, the old segment is closed
and new is started each
SegmentationConfig.getSegment() hours. |
Modifier and Type | Method | Description |
---|---|---|
static SegmentationConfig.SegmentationStrategy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SegmentationConfig.SegmentationStrategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentationConfig.SegmentationStrategy OFF
public static final SegmentationConfig.SegmentationStrategy SIZE_KB
SegmentationConfig.getSegment()
.public static final SegmentationConfig.SegmentationStrategy SIZE_MB
SegmentationConfig.getSegment()
.public static final SegmentationConfig.SegmentationStrategy TIME_BASED
SegmentationConfig.getSegment()
hours.public static SegmentationConfig.SegmentationStrategy[] values()
for (SegmentationConfig.SegmentationStrategy c : SegmentationConfig.SegmentationStrategy.values()) System.out.println(c);
public static SegmentationConfig.SegmentationStrategy 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.