public enum TransactionErrorPriority extends java.lang.Enum<TransactionErrorPriority>
| Enum Constant and Description |
|---|
API
Set by the user via a call to
NewRelic.noticeError(java.lang.Throwable, java.util.Map<java.lang.String, ?>) or AsyncApi.errorAsync(Object, Throwable). |
TRACER
Set by finishing a root tracer with a throwable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
updateCurrentPriority(java.util.concurrent.atomic.AtomicReference<TransactionErrorPriority> current)
TRACER < API
"this" references the new priority.
|
protected abstract boolean |
updatePriority(java.util.concurrent.atomic.AtomicReference<TransactionErrorPriority> current) |
static TransactionErrorPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionErrorPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionErrorPriority API
NewRelic.noticeError(java.lang.Throwable, java.util.Map<java.lang.String, ?>) or AsyncApi.errorAsync(Object, Throwable).
Only take the first.public static final TransactionErrorPriority TRACER
public static TransactionErrorPriority[] values()
for (TransactionErrorPriority c : TransactionErrorPriority.values()) System.out.println(c);
public static TransactionErrorPriority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected abstract boolean updatePriority(java.util.concurrent.atomic.AtomicReference<TransactionErrorPriority> current)
public boolean updateCurrentPriority(java.util.concurrent.atomic.AtomicReference<TransactionErrorPriority> current)