public class GlobalBackends
extends java.lang.Object
Backends. Used for Scala Future and Java Future metrics.
Note: this is currently set by the actor instrumentation, and there can be only one.
| Constructor and Description |
|---|
GlobalBackends() |
| Modifier and Type | Method and Description |
|---|---|
static Backends |
get()
Get the current global backends.
|
static void |
remove()
Remove the current global backends.
|
static void |
set(Backends backends)
Set the current global backends, if not already set.
|
public static Backends get()
public static void set(Backends backends)
backends - the Backends to set globallypublic static void remove()
Cinnamon API. Copyright (c) 2015–2021 Lightbend.