com.netflix.astyanax.test
Class TestDriver.Builder

java.lang.Object
  extended by com.netflix.astyanax.test.TestDriver.Builder
Enclosing class:
TestDriver

public static class TestDriver.Builder
extends java.lang.Object


Constructor Summary
TestDriver.Builder()
           
 
Method Summary
 TestDriver build()
           
 TestDriver.Builder withCallback(com.google.common.base.Function<TestDriver,java.lang.Void> callback)
           
 TestDriver.Builder withCallsPerSecondSupplier(com.google.common.base.Supplier<java.lang.Integer> callsPerSecond)
           
 TestDriver.Builder withFutures(long timeout, java.util.concurrent.TimeUnit units)
           
 TestDriver.Builder withIterationCount(long iterationCount)
           
 TestDriver.Builder withRecurringEvent(long delay, java.util.concurrent.TimeUnit units, com.google.common.base.Function<TestDriver,java.lang.Void> event)
           
 TestDriver.Builder withThreadCount(int nThreads)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDriver.Builder

public TestDriver.Builder()
Method Detail

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()