public static enum FileSizeRotationPolicy.Units extends Enum<FileSizeRotationPolicy.Units>
Modifier and Type | Method and Description |
---|---|
long |
getByteCount() |
static FileSizeRotationPolicy.Units |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileSizeRotationPolicy.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSizeRotationPolicy.Units KB
public static final FileSizeRotationPolicy.Units MB
public static final FileSizeRotationPolicy.Units GB
public static final FileSizeRotationPolicy.Units TB
public static FileSizeRotationPolicy.Units[] values()
for (FileSizeRotationPolicy.Units c : FileSizeRotationPolicy.Units.values()) System.out.println(c);
public static FileSizeRotationPolicy.Units 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 long getByteCount()
Copyright © 2022 The Apache Software Foundation. All rights reserved.