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 TypeMethodDescriptionvoidclose()voidcomplete()static <E> InfinispanSpan<E> instance()voidrecordException(Throwable throwable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface org.infinispan.telemetry.InfinispanSpan
accept
-
Method Details
-
instance
-
makeCurrent
- Specified by:
makeCurrentin interfaceInfinispanSpan<T>
-
complete
public void complete()- Specified by:
completein interfaceInfinispanSpan<T>
-
recordException
- Specified by:
recordExceptionin interfaceInfinispanSpan<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeAutoClosable
-