Class DaemonThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory

    @Deprecated(since="2021-05-27")
    public class DaemonThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Custom thread factory for scheduled executor service that creates daemon threads. Otherwise, applications that neglect to close the client will not exit.

    This class should not be considered a part of the public API.

    • Constructor Summary

      Constructors 
      Constructor Description
      DaemonThreadFactory​(java.lang.String prefix)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Thread newThread​(java.lang.Runnable runnable)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • DaemonThreadFactory

        public DaemonThreadFactory​(java.lang.String prefix)
        Deprecated.
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable runnable)
        Deprecated.
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory