public enum BackgroundResourceReleaser extends Enum<BackgroundResourceReleaser>
| Modifier and Type | Field and Description |
|---|---|
static String |
BACKGROUND_RESOURCE_RELEASER |
| Modifier and Type | Method and Description |
|---|---|
static void |
release(AbstractCloseable closeable) |
static void |
release(AbstractReferenceCounted referenceCounted) |
static void |
releasePendingResources() |
static void |
run(Runnable runnable) |
static BackgroundResourceReleaser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundResourceReleaser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final String BACKGROUND_RESOURCE_RELEASER
public static BackgroundResourceReleaser[] values()
for (BackgroundResourceReleaser c : BackgroundResourceReleaser.values()) System.out.println(c);
public static BackgroundResourceReleaser 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 release(AbstractCloseable closeable)
public static void release(AbstractReferenceCounted referenceCounted)
public static void run(Runnable runnable)
public static void releasePendingResources()
Copyright © 2020. All rights reserved.