/** * Create new <code>SSLWorkerThread</code> */ @Override protected void increaseWorkerThread(int increment, boolean startThread){ SSLWorkerThread workerThread; int currentCount = threadCount; int increaseCount = threadCount + increment; for (int i=currentCount; i < increaseCount; i++){ workerThread = new SSLWorkerThread(this, name + "SSLWorkerThread-" + port + "-" + i); workerThread.setPriority(priority); if (startThread) workerThread.start(); workerThreads[i] = workerThread; threadCount++; } } }