Uses of Interface
org.apache.drill.exec.testing.ControlsInjector
Package
Description
-
Uses of ControlsInjector in org.apache.drill.exec.ops
Modifier and TypeMethodDescriptionBaseOperatorContext.getInjector()
OperatorContext.getInjector()
Returns the fault injection mechanism used to introduce faults at runtime for testing.Modifier 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
Modifier and TypeFieldDescriptionprotected static final ControlsInjector
ExternalSortBatch.injector
-
Uses of ControlsInjector in org.apache.drill.exec.rpc.data
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionstatic ControlsInjector
ControlsInjectorFactory.getInjector
(Class<?> clazz) Returns anExecutionControlsInjector
if assertions are not enabled, orNoOpControlsInjector
otherwise.