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 TypeMethodDescriptionvoidBaseOperatorContext.setInjector(ControlsInjector injector) voidOperatorContext.setInjector(ControlsInjector injector) voidAccountingDataTunnel.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 ControlsInjectorExternalSortBatch.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 TypeMethodDescriptionvoidDataTunnel.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 TypeClassDescriptionclassInjects exceptions and pauses at execution time for testing.final classAn 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 ControlsInjectorControlsInjectorFactory.getInjector(Class<?> clazz) Returns anExecutionControlsInjectorif assertions are not enabled, orNoOpControlsInjectorotherwise.