Class ObservableReactiveSessionFactory

java.lang.Object
org.springframework.data.cassandra.observability.ObservableReactiveSessionFactory

public final class ObservableReactiveSessionFactory extends Object
Since:
4.0
Author:
Mark Paluch
  • Method Details

    • wrap

      public static ReactiveSession wrap(ReactiveSession session, io.micrometer.observation.ObservationRegistry observationRegistry)
      Wrap the CqlSession with a CqlSessionObservationInterceptor.
      Parameters:
      session - must not be null.
      observationRegistry - must not be null.
      Returns:
    • wrap

      public static ReactiveSession wrap(ReactiveSession session, String remoteServiceName, io.micrometer.observation.ObservationRegistry observationRegistry)
      Wrap the CqlSession with a CqlSessionObservationInterceptor.
      Parameters:
      session - must not be null.
      remoteServiceName - must not be null.
      observationRegistry - must not be null.
      Returns: