Package com.lightbend.cinnamon.backend
Class GlobalBackends
- java.lang.Object
-
- com.lightbend.cinnamon.backend.GlobalBackends
-
public class GlobalBackends extends java.lang.Object
Access to globalBackends
. Used for Scala Future and Java Future metrics.Note: this is currently set by the actor instrumentation, and there can be only one.
-
-
Constructor Summary
Constructors Constructor Description GlobalBackends()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
get
public static Backends get()
Get the current global backends.- Returns:
- global Backends
-
set
public static void set(Backends backends)
Set the current global backends, if not already set.- Parameters:
backends
- the Backends to set globally
-
remove
public static void remove()
Remove the current global backends.
-
-