public final class BackgroundResourceReleaser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BACKGROUND_RESOURCE_RELEASER |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isOnBackgroundResourceReleaserThread()
Is the current thread the background resource releaser thread?
|
static void |
release(AbstractCloseable closeable) |
static void |
release(AbstractReferenceCounted referenceCounted) |
static void |
releasePendingResources() |
static void |
run(Runnable runnable) |
static void |
stop()
Stops the background releasing thread after releasing pending resources.
|
public static final String BACKGROUND_RESOURCE_RELEASER
public static void stop()
public static void release(AbstractCloseable closeable)
public static void release(AbstractReferenceCounted referenceCounted)
public static void run(Runnable runnable)
public static void releasePendingResources()
public static boolean isOnBackgroundResourceReleaserThread()
Copyright © 2022. All rights reserved.