Module brave

Class FinishedSpanHandlers


  • public final class FinishedSpanHandlers
    extends java.lang.Object
    • Constructor Detail

      • FinishedSpanHandlers

        public FinishedSpanHandlers()
    • Method Detail

      • noopAware

        public static FinishedSpanHandler noopAware​(FinishedSpanHandler handler,
                                                    java.util.concurrent.atomic.AtomicBoolean noop)
        When noop, this drops input spans by returning false. Otherwise, it logs exceptions instead of raising an error, as the supplied firehoseHandler could have bugs.