Package edu.uiuc.ncsa.security.util.pkcs
Class KeyPairPopulationThread
- java.lang.Object
-
- java.lang.Thread
-
- edu.uiuc.ncsa.security.core.util.QueuePopulationThread<KeyPair>
-
- edu.uiuc.ncsa.security.util.pkcs.KeyPairPopulationThread
-
- All Implemented Interfaces:
Runnable
public class KeyPairPopulationThread extends QueuePopulationThread<KeyPair>
Worker thread that createsKeyPair
s and puts them into a queue.Created by Jeff Gaynor
on 2/20/12 at 2:35 PM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description KeyPairPopulationThread(int maxQueueSize, long sleepInterval, QueueWithSpare<KeyPair> q)
KeyPairPopulationThread(QueueWithSpare<KeyPair> q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyPair
createNew()
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.QueuePopulationThread
getLogger, getQ, isStopThread, log, run, setStopThread
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
KeyPairPopulationThread
public KeyPairPopulationThread(int maxQueueSize, long sleepInterval, QueueWithSpare<KeyPair> q)
-
KeyPairPopulationThread
public KeyPairPopulationThread(QueueWithSpare<KeyPair> q)
-
-
Method Detail
-
createNew
protected KeyPair createNew()
- Specified by:
createNew
in classQueuePopulationThread<KeyPair>
-
-