com.netflix.astyanax.test
Class TestDriver.Builder
java.lang.Object
com.netflix.astyanax.test.TestDriver.Builder
- Enclosing class:
- TestDriver
public static class TestDriver.Builder
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDriver.Builder
public TestDriver.Builder()
withThreadCount
public TestDriver.Builder withThreadCount(int nThreads)
withCallsPerSecondSupplier
public TestDriver.Builder withCallsPerSecondSupplier(com.google.common.base.Supplier<java.lang.Integer> callsPerSecond)
withCallback
public TestDriver.Builder withCallback(com.google.common.base.Function<TestDriver,java.lang.Void> callback)
withIterationCount
public TestDriver.Builder withIterationCount(long iterationCount)
withFutures
public TestDriver.Builder withFutures(long timeout,
java.util.concurrent.TimeUnit units)
withRecurringEvent
public TestDriver.Builder withRecurringEvent(long delay,
java.util.concurrent.TimeUnit units,
com.google.common.base.Function<TestDriver,java.lang.Void> event)
build
public TestDriver build()