Package | Description |
---|---|
org.apache.drill.exec.ops | |
org.apache.drill.exec.physical.impl.xsort | |
org.apache.drill.exec.rpc.data | |
org.apache.drill.exec.testing |
Modifier and Type | Method and Description |
---|---|
ControlsInjector |
BaseOperatorContext.getInjector() |
ControlsInjector |
OperatorContext.getInjector()
Returns the fault injection mechanism used to introduce faults at runtime
for testing.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseOperatorContext.setInjector(ControlsInjector injector) |
void |
OperatorContext.setInjector(ControlsInjector injector) |
void |
AccountingDataTunnel.setTestInjectionControls(ControlsInjector testInjector,
ExecutionControls testControls,
org.slf4j.Logger testLogger)
|
Modifier and Type | Field and Description |
---|---|
protected static ControlsInjector |
ExternalSortBatch.injector |
Modifier and Type | Method and Description |
---|---|
void |
DataTunnel.setTestInjectionControls(ControlsInjector testInjector,
ExecutionControls testControls,
org.slf4j.Logger testLogger)
Once a DataTunnel is created, clients of DataTunnel can pass injection controls to enable setting injections at
pre-defined places.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionControlsInjector
Injects exceptions and pauses at execution time for testing.
|
class |
NoOpControlsInjector
An injector that does not inject any controls, useful when not testing (i.e.
|
Modifier and Type | Method and Description |
---|---|
static ControlsInjector |
ControlsInjectorFactory.getInjector(Class<?> clazz)
Returns an
ExecutionControlsInjector if assertions are not enabled, or NoOpControlsInjector
otherwise. |
Copyright © 1970 The Apache Software Foundation. All rights reserved.