Class GlobalBackends


  • public class GlobalBackends
    extends java.lang.Object
    Access to global 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 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GlobalBackends

        public GlobalBackends()
    • 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.