public class StartupQuery
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StartupQuery.AbortedException
Exception not being caught by the crash report generation logic.
|
Modifier and Type | Field and Description |
---|---|
private static boolean |
aborted |
private static StartupQuery |
pending |
private java.util.concurrent.atomic.AtomicBoolean |
result |
private java.util.concurrent.CountDownLatch |
signal |
private boolean |
synchronous |
private java.lang.String |
text |
Modifier | Constructor and Description |
---|---|
private |
StartupQuery(java.lang.String text,
java.util.concurrent.atomic.AtomicBoolean result) |
Modifier and Type | Method and Description |
---|---|
static void |
abort() |
static boolean |
check() |
static boolean |
confirm(java.lang.String text) |
private void |
execute() |
void |
finish() |
java.lang.Boolean |
getResult() |
java.lang.String |
getText() |
boolean |
isSynchronous() |
static void |
notify(java.lang.String text) |
static void |
reset() |
void |
setResult(boolean result) |
private static volatile StartupQuery pending
private static volatile boolean aborted
private java.lang.String text
@Nullable private java.util.concurrent.atomic.AtomicBoolean result
private java.util.concurrent.CountDownLatch signal
private volatile boolean synchronous
private StartupQuery(java.lang.String text, @Nullable java.util.concurrent.atomic.AtomicBoolean result)
public static boolean confirm(java.lang.String text)
public static void notify(java.lang.String text)
public static void abort()
public static void reset()
public static boolean check()
@Nullable public java.lang.Boolean getResult()
public void setResult(boolean result)
public java.lang.String getText()
public boolean isSynchronous()
public void finish()
private void execute()