Package org.apache.maven.index
Class ConcurrentUseTest.IndexUserThread
java.lang.Object
java.lang.Thread
org.apache.maven.index.ConcurrentUseTest.IndexUserThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
ConcurrentUseTest
-
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
ConstructorDescriptionIndexUserThread
(ConcurrentUseTest test, org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext searchIndexingContext, org.apache.maven.index.context.IndexingContext modifyIndexingContext, org.apache.maven.index.ArtifactInfo artifactInfo) -
Method Summary
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 Details
-
IndexUserThread
public IndexUserThread(ConcurrentUseTest test, org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext searchIndexingContext, org.apache.maven.index.context.IndexingContext modifyIndexingContext, org.apache.maven.index.ArtifactInfo artifactInfo)
-
-
Method Details
-
getAdded
public int getAdded() -
getDeleted
public int getDeleted() -
hadProblem
public boolean hadProblem() -
getLastSearchHitCount
public int getLastSearchHitCount() -
stopThread
- Throws:
IOException
-
run
public void run()
-