Class SentryScheduleHook

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.Runnable,​java.lang.Runnable>

    @Experimental
    public final class SentryScheduleHook
    extends java.lang.Object
    implements java.util.function.Function<java.lang.Runnable,​java.lang.Runnable>
    Hook meant to used with Schedulers.onScheduleHook(String, Function) to configure Reactor to copy correct hub into the operating thread.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Runnable apply​(@NotNull java.lang.Runnable runnable)  
      • 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.Function

        andThen, compose
    • Constructor Detail

      • SentryScheduleHook

        public SentryScheduleHook()
    • Method Detail

      • apply

        public java.lang.Runnable apply​(@NotNull
                                        @NotNull java.lang.Runnable runnable)
        Specified by:
        apply in interface java.util.function.Function<java.lang.Runnable,​java.lang.Runnable>