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