| Package | Description |
|---|---|
| org.apache.drill.exec.testing |
| Modifier and Type | Method and Description |
|---|---|
Controls.Builder |
Controls.Builder.addException(Class<?> siteClass,
String desc,
Class<? extends Throwable> exceptionClass)
Adds an exception injection to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addException(Class<?> siteClass,
String desc,
Class<? extends Throwable> exceptionClass,
int nSkip,
int nFire)
Adds an exception injection to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addExceptionOnBit(Class<?> siteClass,
String desc,
Class<? extends Throwable> exceptionClass,
CoordinationProtos.DrillbitEndpoint endpoint)
Adds an exception injection (for the specified drillbit) to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addExceptionOnBit(Class<?> siteClass,
String desc,
Class<? extends Throwable> exceptionClass,
CoordinationProtos.DrillbitEndpoint endpoint,
int nSkip,
int nFire)
Adds an exception injection (for the specified drillbit) to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addLatch(Class<?> siteClass,
String desc)
Adds a count down latch to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addPause(Class<?> siteClass,
String desc)
Adds a pause injection to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addPause(Class<?> siteClass,
String desc,
int nSkip)
Adds a pause injection to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addPauseOnBit(Class<?> siteClass,
String desc,
CoordinationProtos.DrillbitEndpoint endpoint)
Adds a pause injection (for the specified drillbit) to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addPauseOnBit(Class<?> siteClass,
String desc,
CoordinationProtos.DrillbitEndpoint endpoint,
int nSkip)
Adds a pause injection (for the specified drillbit) to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addTimedPause(Class<?> siteClass,
String desc,
int nSkip,
long msPause)
Adds a time-bound pause injection to the controls builder with the given parameters.
|
Controls.Builder |
Controls.Builder.addTimedPauseOnBit(Class<?> siteClass,
String desc,
CoordinationProtos.DrillbitEndpoint endpoint,
int nSkip,
long msPause)
Adds a time-bound pause injection (for the specified drillbit) to the controls builder with the given parameters.
|
static Controls.Builder |
Controls.newBuilder()
Returns a builder that can be used to add injections.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.