public enum QueueFileShrinkManager extends Enum<QueueFileShrinkManager>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DISABLE_QUEUE_FILE_SHRINKING |
static boolean |
RUN_SYNCHRONOUSLY |
static String |
THREAD_NAME |
| Modifier and Type | Method and Description |
|---|---|
static void |
scheduleShrinking(@NotNull File queueFile,
long writePos) |
static QueueFileShrinkManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueueFileShrinkManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final String THREAD_NAME
public static final boolean RUN_SYNCHRONOUSLY
public static final boolean DISABLE_QUEUE_FILE_SHRINKING
public static QueueFileShrinkManager[] values()
for (QueueFileShrinkManager c : QueueFileShrinkManager.values()) System.out.println(c);
public static QueueFileShrinkManager 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 static void scheduleShrinking(@NotNull
@NotNull File queueFile,
long writePos)
Copyright © 2022. All rights reserved.