Package org.infinispan.telemetry.impl
Class DisabledInfinispanSpan<T>
java.lang.Object
org.infinispan.telemetry.impl.DisabledInfinispanSpan<T>
- All Implemented Interfaces:
AutoCloseable
,BiConsumer<T,
,Throwable> InfinispanSpan<T>
,SafeAutoClosable
public class DisabledInfinispanSpan<T>
extends Object
implements InfinispanSpan<T>, SafeAutoClosable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
complete()
static <E> InfinispanSpan
<E> instance()
void
recordException
(Throwable throwable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
Methods inherited from interface org.infinispan.telemetry.InfinispanSpan
accept
-
Method Details
-
instance
-
makeCurrent
- Specified by:
makeCurrent
in interfaceInfinispanSpan<T>
-
complete
public void complete()- Specified by:
complete
in interfaceInfinispanSpan<T>
-
recordException
- Specified by:
recordException
in interfaceInfinispanSpan<T>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeAutoClosable
-