Class AerospikeTestOperations

java.lang.Object
com.playtika.test.aerospike.AerospikeTestOperations

public class AerospikeTestOperations extends Object
  • Constructor Details

    • AerospikeTestOperations

      public AerospikeTestOperations()
  • Method Details

    • addNetworkLatencyForResponses

      @Deprecated public void addNetworkLatencyForResponses(Duration millis)
      Deprecated.
      instead use NetworkTestOperations directly.
    • removeNetworkLatencyForResponses

      @Deprecated public void removeNetworkLatencyForResponses()
      Deprecated.
      instead use NetworkTestOperations directly.
    • addDuration

      public void addDuration(org.joda.time.Duration duration)
    • timeTravelTo

      public void timeTravelTo(org.joda.time.DateTime futureTime)
    • rollbackTime

      public void rollbackTime()
    • getScans

      More at https://www.aerospike.com/docs/guide/scan.html
      Returns:
      performed scans on aerospike server instance.
    • killAllScans

      public void killAllScans()
    • assertNoScans

      public void assertNoScans()
    • assertNoScans

      public void assertNoScans(Predicate<AerospikeTestOperations.ScanJob> scanJobPredicate)
    • assertNoScansForSet

      public void assertNoScansForSet(String setName)