public static enum Waiter.LogPoint extends Enum<Waiter.LogPoint>
| Modifier and Type | Method and Description |
|---|---|
void |
logEnd(String reason,
long millis)
Logs end of waiting using the selected logging
. |
void |
logEnd(String reason,
long millis,
org.slf4j.event.Level level)
Logs end of waiting.
|
void |
logStart(String reason,
long millis)
Logs start of waiting.
|
void |
logStart(String reason,
long millis,
org.slf4j.event.Level level)
Logs start of waiting using the selected logging
. |
static Waiter.LogPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Waiter.LogPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Waiter.LogPoint NONE
public static final Waiter.LogPoint START
public static final Waiter.LogPoint END
public static final Waiter.LogPoint BOTH
public static Waiter.LogPoint[] values()
for (Waiter.LogPoint c : Waiter.LogPoint.values()) System.out.println(c);
public static Waiter.LogPoint 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 void logStart(String reason, long millis)
reason - reason of waitingmillis - waiting timeout on conditionpublic void logStart(String reason, long millis, org.slf4j.event.Level level)
reason - reason of waitingmillis - waiting timeout on conditionlevel - logging severity of logpublic void logEnd(String reason, long millis)
reason - reason of waitingmillis - waiting timeout on conditionpublic void logEnd(String reason, long millis, org.slf4j.event.Level level)
reason - reason of waitingmillis - waiting timeout on conditionlevel - logging severity of logCopyright © 2021. All rights reserved.