Class ConcurrentGenerateStingSpec

java.lang.Object
me.ahoo.cosid.test.ConcurrentGenerateStingSpec
All Implemented Interfaces:
TestSpec

public class ConcurrentGenerateStingSpec extends Object implements TestSpec
Concurrent Generate String ID Spec .
  • Constructor Details

    • ConcurrentGenerateStingSpec

      public ConcurrentGenerateStingSpec(IdGenerator... idGenerators)
    • ConcurrentGenerateStingSpec

      public ConcurrentGenerateStingSpec(int concurrentThreads, long idSize, IdGenerator... idGenerators)
  • Method Details

    • getConcurrentThreads

      public int getConcurrentThreads()
    • getIdSize

      public long getIdSize()
    • assertSingleEach

      protected void assertSingleEach(String previousId, String id)
    • assertGlobalEach

      protected void assertGlobalEach(String previousId, String id)
    • verify

      public void verify()
      Specified by:
      verify in interface TestSpec