test_class.declarator: CORE_POOL_TIMEOUT = 10000
test_class.modifier: private static final
test_class.original_string: private static final int CORE_POOL_TIMEOUT = 10000;
test_class.type: int
test_class.var_name: CORE_POOL_TIMEOUT
test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/common/QueueingThreadPoolExecutorTest.java
test_class.identifier: QueueingThreadPoolExecutorTest
test_case.body: @Test
      public void testCreateInstanceInvalidArgsPoolSizeMinus1() {
          assertThrows(IllegalArgumentException.class, () -> QueueingThreadPoolExecutor.createInstance("test", -1));
      }
test_case.class_method_signature: QueueingThreadPoolExecutorTest.testCreateInstanceInvalidArgsPoolSizeMinus1()
test_case.full_signature: @Test public void testCreateInstanceInvalidArgsPoolSizeMinus1()
test_case.identifier: testCreateInstanceInvalidArgsPoolSizeMinus1
test_case.invocations: assertThrows createInstance
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateInstanceInvalidArgsPoolSizeMinus1()
focal_class.declarator: logger = LoggerFactory.getLogger(QueueingThreadPoolExecutor.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(QueueingThreadPoolExecutor.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: CORE_THREAD_POOL_SIZE = 1
focal_class.modifier: static final
focal_class.original_string: static final int CORE_THREAD_POOL_SIZE = 1;
focal_class.type: int
focal_class.var_name: CORE_THREAD_POOL_SIZE
focal_class.declarator: taskQueue = new LinkedTransferQueue<>()
focal_class.modifier: private final
focal_class.original_string: private final BlockingQueue<Runnable> taskQueue = new LinkedTransferQueue<>();
focal_class.type: BlockingQueue<Runnable>
focal_class.var_name: taskQueue
focal_class.declarator: queueThread
focal_class.modifier: private volatile
focal_class.original_string: private volatile Thread queueThread;
focal_class.type: Thread
focal_class.var_name: queueThread
focal_class.declarator: queueThreadLock = new ReentrantReadWriteLock(true)
focal_class.modifier: private final
focal_class.original_string: private final ReadWriteLock queueThreadLock = new ReentrantReadWriteLock(true);
focal_class.type: ReadWriteLock
focal_class.var_name: queueThreadLock
focal_class.declarator: semaphore = new Object()
focal_class.modifier: private final
focal_class.original_string: private final Object semaphore = new Object();
focal_class.type: Object
focal_class.var_name: semaphore
focal_class.declarator: threadPoolName
focal_class.modifier: private final
focal_class.original_string: private final String threadPoolName;
focal_class.type: String
focal_class.var_name: threadPoolName
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/common/QueueingThreadPoolExecutor.java
focal_class.identifier: QueueingThreadPoolExecutor
focal_class.class_method_signature: QueueingThreadPoolExecutor.QueueingThreadPoolExecutor(String name, int threadPoolSize)
focal_class.full_signature: protected  QueueingThreadPoolExecutor(String name, int threadPoolSize)
focal_class.identifier: QueueingThreadPoolExecutor
focal_class.modifiers: protected
focal_class.parameters: (String name, int threadPoolSize)
focal_class.signature:  QueueingThreadPoolExecutor(String name, int threadPoolSize)
focal_class.class_method_signature: QueueingThreadPoolExecutor.QueueingThreadPoolExecutor(String threadPoolName, ThreadFactory threadFactory, int threadPoolSize,
              RejectedExecutionHandler rejectionHandler)
focal_class.full_signature: private  QueueingThreadPoolExecutor(String threadPoolName, ThreadFactory threadFactory, int threadPoolSize,
              RejectedExecutionHandler rejectionHandler)
focal_class.identifier: QueueingThreadPoolExecutor
focal_class.modifiers: private
focal_class.parameters: (String threadPoolName, ThreadFactory threadFactory, int threadPoolSize,
              RejectedExecutionHandler rejectionHandler)
focal_class.signature:  QueueingThreadPoolExecutor(String threadPoolName, ThreadFactory threadFactory, int threadPoolSize,
              RejectedExecutionHandler rejectionHandler)
focal_class.class_method_signature: QueueingThreadPoolExecutor.createInstance(String name, int threadPoolSize)
focal_class.full_signature: public static QueueingThreadPoolExecutor createInstance(String name, int threadPoolSize)
focal_class.identifier: createInstance
focal_class.modifiers: public static
focal_class.parameters: (String name, int threadPoolSize)
focal_class.return: QueueingThreadPoolExecutor
focal_class.signature: QueueingThreadPoolExecutor createInstance(String name, int threadPoolSize)
focal_class.class_method_signature: QueueingThreadPoolExecutor.addToQueue(Runnable runnable)
focal_class.full_signature: protected void addToQueue(Runnable runnable)
focal_class.identifier: addToQueue
focal_class.modifiers: protected
focal_class.parameters: (Runnable runnable)
focal_class.return: void
focal_class.signature: void addToQueue(Runnable runnable)
focal_class.class_method_signature: QueueingThreadPoolExecutor.afterExecute(Runnable r, Throwable t)
focal_class.full_signature: @Override protected void afterExecute(Runnable r, Throwable t)
focal_class.identifier: afterExecute
focal_class.modifiers: @Override protected
focal_class.parameters: (Runnable r, Throwable t)
focal_class.return: void
focal_class.signature: void afterExecute(Runnable r, Throwable t)
focal_class.class_method_signature: QueueingThreadPoolExecutor.setRejectedExecutionHandler(RejectedExecutionHandler handler)
focal_class.full_signature: @Override public void setRejectedExecutionHandler(RejectedExecutionHandler handler)
focal_class.identifier: setRejectedExecutionHandler
focal_class.modifiers: @Override public
focal_class.parameters: (RejectedExecutionHandler handler)
focal_class.return: void
focal_class.signature: void setRejectedExecutionHandler(RejectedExecutionHandler handler)
focal_class.class_method_signature: QueueingThreadPoolExecutor.getQueue()
focal_class.full_signature: @Override public BlockingQueue<Runnable> getQueue()
focal_class.identifier: getQueue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BlockingQueue<Runnable>
focal_class.signature: BlockingQueue<Runnable> getQueue()
focal_class.class_method_signature: QueueingThreadPoolExecutor.execute(Runnable command)
focal_class.full_signature: @Override public void execute(Runnable command)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (Runnable command)
focal_class.return: void
focal_class.signature: void execute(Runnable command)
focal_class.class_method_signature: QueueingThreadPoolExecutor.createNewQueueThread()
focal_class.full_signature: private Thread createNewQueueThread()
focal_class.identifier: createNewQueueThread
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Thread
focal_class.signature: Thread createNewQueueThread()
focal_class.superclass: extends ThreadPoolExecutor
focal_method.body: public static QueueingThreadPoolExecutor createInstance(String name, int threadPoolSize) {
          return new QueueingThreadPoolExecutor(name, threadPoolSize);
      }
focal_method.class_method_signature: QueueingThreadPoolExecutor.createInstance(String name, int threadPoolSize)
focal_method.full_signature: public static QueueingThreadPoolExecutor createInstance(String name, int threadPoolSize)
focal_method.identifier: createInstance
focal_method.modifiers: public static
focal_method.parameters: (String name, int threadPoolSize)
focal_method.return: QueueingThreadPoolExecutor
focal_method.signature: QueueingThreadPoolExecutor createInstance(String name, int threadPoolSize)