public static void decrNumberOfThreads() { JMeterContextService.decrNumberOfThreads(); refreshUI(); }
public boolean movedToPool(DynamicThread thread) { threads.remove(thread); if (thread.isStopping()) { log.debug("Did not move into pool, because thread is stopping: " + thread); return false; } poolThreads.add(thread); log.debug("Moved thread to pool: " + thread + ", pool size: " + poolThreads.size()); ThreadCountsAccessor.decrNumberOfThreads(); //noinspection SynchronizationOnLocalVariableOrMethodParameter synchronized (thread) { try { thread.wait(); } catch (InterruptedException e) { log.debug("Interrupted", e); } } ThreadCountsAccessor.incrNumberOfThreads(); return running; }
public boolean movedToPool(DynamicThread thread) { threads.remove(thread); if (thread.isStopping()) { log.debug("Did not move into pool, because thread is stopping: " + thread); return false; } poolThreads.add(thread); log.debug("Moved thread to pool: " + thread + ", pool size: " + poolThreads.size()); ThreadCountsAccessor.decrNumberOfThreads(); //noinspection SynchronizationOnLocalVariableOrMethodParameter synchronized (thread) { try { thread.wait(); } catch (InterruptedException e) { log.debug("Interrupted", e); } } ThreadCountsAccessor.incrNumberOfThreads(); return running; }
public boolean movedToPool(DynamicThread thread) { threads.remove(thread); if (thread.isStopping()) { log.debug("Did not move into pool, because thread is stopping: " + thread); return false; } poolThreads.add(thread); log.debug("Moved thread to pool: " + thread + ", pool size: " + poolThreads.size()); ThreadCountsAccessor.decrNumberOfThreads(); //noinspection SynchronizationOnLocalVariableOrMethodParameter synchronized (thread) { try { thread.wait(); } catch (InterruptedException e) { log.debug("Interrupted", e); } } ThreadCountsAccessor.incrNumberOfThreads(); return running; }
public static void decrNumberOfThreads() { JMeterContextService.decrNumberOfThreads(); refreshUI(); }
public static void incrNumberOfThreads() { JMeterContextService.incrNumberOfThreads(); refreshUI(); }
public static void incrNumberOfThreads() { JMeterContextService.incrNumberOfThreads(); refreshUI(); }
public static void incrNumberOfThreads() { JMeterContextService.incrNumberOfThreads(); refreshUI(); }
public static void decrNumberOfThreads() { JMeterContextService.decrNumberOfThreads(); refreshUI(); }