Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate
All Implemented Interfaces:
TypeDescription.SuperTypeLoading.ClassLoadingDelegate
Enclosing class:
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous

@Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate extends Object implements TypeDescription.SuperTypeLoading.ClassLoadingDelegate
A class loading delegate that delegates loading of the super type to another thread.
  • Field Details

    • executorService

      private final ExecutorService executorService
      The executor service to delegate class loading to.
  • Constructor Details

    • ThreadSwitchingClassLoadingDelegate

      protected ThreadSwitchingClassLoadingDelegate(ExecutorService executorService)
      Creates a new thread-switching class loading delegate.
      Parameters:
      executorService - The executor service to delegate class loading to.
  • Method Details