Class ExecutorServiceUtil


  • @Deprecated(since="2022-01-27")
    public class ExecutorServiceUtil
    extends java.lang.Object
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    Static utility methods for manipulating an ExecutorService.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.util.concurrent.ExecutorService newExecutorService()
      Deprecated.
      Creates an executor service suitable for use by logback components.
      static java.util.concurrent.ScheduledExecutorService newScheduledExecutorService()
      Deprecated.
       
      static void shutdown​(java.util.concurrent.ExecutorService executorService)
      Deprecated.
      Shuts down an executor service.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecutorServiceUtil

        public ExecutorServiceUtil()
        Deprecated.
    • Method Detail

      • newScheduledExecutorService

        public static java.util.concurrent.ScheduledExecutorService newScheduledExecutorService()
        Deprecated.
      • newExecutorService

        public static java.util.concurrent.ExecutorService newExecutorService()
        Deprecated.
        Creates an executor service suitable for use by logback components.
        Returns:
        executor service
      • shutdown

        public static void shutdown​(java.util.concurrent.ExecutorService executorService)
        Deprecated.
        Shuts down an executor service.

        Parameters:
        executorService - the executor service to shut down