Uses of Interface
org.apache.drill.exec.testing.ControlsInjector
Packages that use ControlsInjector
Package
Description
-
Uses of ControlsInjector in org.apache.drill.exec.ops
Methods in org.apache.drill.exec.ops that return ControlsInjectorModifier and TypeMethodDescriptionBaseOperatorContext.getInjector()
OperatorContext.getInjector()
Returns the fault injection mechanism used to introduce faults at runtime for testing.Methods in org.apache.drill.exec.ops with parameters of type ControlsInjectorModifier and TypeMethodDescriptionvoid
BaseOperatorContext.setInjector
(ControlsInjector injector) void
OperatorContext.setInjector
(ControlsInjector injector) void
AccountingDataTunnel.setTestInjectionControls
(ControlsInjector testInjector, ExecutionControls testControls, org.slf4j.Logger testLogger) -
Uses of ControlsInjector in org.apache.drill.exec.physical.impl.xsort
Fields in org.apache.drill.exec.physical.impl.xsort declared as ControlsInjectorModifier and TypeFieldDescriptionprotected static final ControlsInjector
ExternalSortBatch.injector
-
Uses of ControlsInjector in org.apache.drill.exec.rpc.data
Methods in org.apache.drill.exec.rpc.data with parameters of type ControlsInjectorModifier and TypeMethodDescriptionvoid
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. -
Uses of ControlsInjector in org.apache.drill.exec.testing
Classes in org.apache.drill.exec.testing that implement ControlsInjectorModifier and TypeClassDescriptionclass
Injects exceptions and pauses at execution time for testing.final class
An injector that does not inject any controls, useful when not testing (i.e.Methods in org.apache.drill.exec.testing that return ControlsInjectorModifier and TypeMethodDescriptionstatic ControlsInjector
ControlsInjectorFactory.getInjector
(Class<?> clazz) Returns anExecutionControlsInjector
if assertions are not enabled, orNoOpControlsInjector
otherwise.