Class BlockingThreadPoolExecutorFactory

java.lang.Object
org.infinispan.commons.executors.BlockingThreadPoolExecutorFactory
All Implemented Interfaces:
ThreadPoolExecutorFactory<ExecutorService>

@Deprecated(forRemoval=true) public class BlockingThreadPoolExecutorFactory extends Object implements ThreadPoolExecutorFactory<ExecutorService>
Deprecated, for removal: This API element is subject to removal in a future version.
since 12.0 with no replacement
Author:
Galder ZamarreƱo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    create(int maxThreads, int queueSize, boolean nonBlocking)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Validate parameters for the thread pool executor factory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT_KEEP_ALIVE_MILLIS

      public static final int DEFAULT_KEEP_ALIVE_MILLIS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • BlockingThreadPoolExecutorFactory

      public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BlockingThreadPoolExecutorFactory

      public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • maxThreads

      public int maxThreads()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • coreThreads

      public int coreThreads()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • queueLength

      public int queueLength()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • keepAlive

      public long keepAlive()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createsNonBlockingThreads

      public boolean createsNonBlockingThreads()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createsNonBlockingThreads in interface ThreadPoolExecutorFactory<ExecutorService>
    • createExecutor

      public ExecutorService createExecutor(ThreadFactory threadFactory)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createExecutor in interface ThreadPoolExecutorFactory<ExecutorService>
    • validate

      public void validate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ThreadPoolExecutorFactory
      Validate parameters for the thread pool executor factory
      Specified by:
      validate in interface ThreadPoolExecutorFactory<ExecutorService>
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • create

      public static BlockingThreadPoolExecutorFactory create(int maxThreads, int queueSize, boolean nonBlocking)
      Deprecated, for removal: This API element is subject to removal in a future version.