All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.telemetry.InfinispanSpan Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.telemetry;

import java.util.function.BiConsumer;

public interface InfinispanSpan extends BiConsumer {

   SafeAutoClosable makeCurrent();

   void complete();

   void recordException(Throwable throwable);

   @Override
   default void accept(T ignored, Throwable throwable) {
      if (throwable != null) {
         recordException(throwable);
      }
      complete();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy