Class SentryTaskDecorator

java.lang.Object
io.sentry.spring.SentryTaskDecorator
All Implemented Interfaces:
TaskDecorator

public final class SentryTaskDecorator extends Object implements TaskDecorator
Sets a current hub on a thread running a Runnable given by parameter. Used to propagate the current IHub on the thread executing async task - like MVC controller methods returning a Callable or Spring beans methods annotated with Async.
  • Constructor Details

    • SentryTaskDecorator

      public SentryTaskDecorator()
  • Method Details