Class ConcurrentUseTest

All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
ConcurrentUseWithMergedContextTest

public class ConcurrentUseTest extends AbstractNexusIndexerTest
  • Field Details

  • Constructor Details

    • ConcurrentUseTest

      public ConcurrentUseTest()
  • Method Details

    • prepareNexusIndexer

      protected void prepareNexusIndexer(org.apache.maven.index.NexusIndexer nexusIndexer) throws Exception
      Specified by:
      prepareNexusIndexer in class AbstractNexusIndexerTest
      Throws:
      Exception
    • createThread

      protected ConcurrentUseTest.IndexUserThread createThread(org.apache.maven.index.ArtifactInfo ai)
    • testConcurrency

      public void testConcurrency() throws Exception
      Throws:
      Exception
    • addToIndex

      protected void addToIndex(org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext indexingContext) throws IOException
      Throws:
      IOException
    • deleteFromIndex

      protected void deleteFromIndex(org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext indexingContext) throws IOException
      Throws:
      IOException
    • readIndex

      protected int readIndex(org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext indexingContext) throws IOException
      Throws:
      IOException