public class DataTunnel extends Object
Constructor and Description |
---|
DataTunnel(DataConnectionManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
sendRecordBatch(RpcOutcomeListener<BitData.AckWithCredit> outcomeListener,
FragmentWritableBatch batch) |
void |
sendRuntimeFilter(RpcOutcomeListener<BitData.AckWithCredit> outcomeListener,
RuntimeFilterWritable runtimeFilter) |
void |
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.
|
public DataTunnel(DataConnectionManager manager)
public void setTestInjectionControls(ControlsInjector testInjector, ExecutionControls testControls, org.slf4j.Logger testLogger)
sendRecordBatch(RpcOutcomeListener, FragmentWritableBatch)
, an interruptible pause injection
is available before acquiring the sending slot. Site name is: "data-tunnel-send-batch-wait-for-interrupt"testInjector
- testControls
- testLogger
- public void sendRecordBatch(RpcOutcomeListener<BitData.AckWithCredit> outcomeListener, FragmentWritableBatch batch)
public void sendRuntimeFilter(RpcOutcomeListener<BitData.AckWithCredit> outcomeListener, RuntimeFilterWritable runtimeFilter)
Copyright © 1970 The Apache Software Foundation. All rights reserved.