Class WorkerThreadFactory

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

    public class WorkerThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    Author:
    Baptiste Mesta, Celine Souchet
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkerThreadFactory​(java.lang.String name, long tenantId, int maximumPoolSize)  
    • Method Summary

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

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

      • WorkerThreadFactory

        public WorkerThreadFactory​(java.lang.String name,
                                   long tenantId,
                                   int maximumPoolSize)
    • Method Detail

      • newThread

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