Class KVDatabaseTest.RandomTask

java.lang.Object
java.lang.Thread
io.permazen.kv.test.KVDatabaseTest.RandomTask
All Implemented Interfaces:
Runnable
Enclosing class:
KVDatabaseTest

public class KVDatabaseTest.RandomTask extends Thread
  • Constructor Details

    • RandomTask

      public RandomTask(int id, KVDatabase store, long seed)
    • RandomTask

      public RandomTask(int id, KVDatabase store, TreeMap<byte[],byte[]> committedData, long seed)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getFail

      public Throwable getFail()
    • runRandomAccess

      public void runRandomAccess(KVStore tx)
    • performRandomAccess

      public void performRandomAccess(KVStore tx)
    • readDatabase

      public TreeMap<byte[],byte[]> readDatabase()
    • toString

      public String toString()
      Overrides:
      toString in class Thread