com.hazelcast.util.executor

## Class AbstractExecutorThreadFactory

- java.lang.Object
- - com.hazelcast.util.executor.AbstractExecutorThreadFactory

- All Implemented Interfaces:
    ThreadFactory
  Direct Known Subclasses:
    PoolExecutorThreadFactory, SingleExecutorThreadFactory

      public abstract class AbstractExecutorThreadFactory
      extends Object
      implements ThreadFactory

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ClassLoader` | `classLoader`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractExecutorThreadFactory(ClassLoader classLoader)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Thread` | `createThread(Runnable r)`
    `Thread` | `newThread(Runnable r)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### classLoader

          protected final ClassLoader classLoader

  - ### Constructor Detail

    - #### AbstractExecutorThreadFactory

          public AbstractExecutorThreadFactory(ClassLoader classLoader)

  - ### Method Detail

    - #### newThread

          public final Thread newThread(Runnable r)

      Specified by:
        `newThread` in interface `ThreadFactory`

    - #### createThread

          protected abstract Thread createThread(Runnable r)

Copyright © 2018. All rights reserved.