public class BlockReaderIoProvider
extends java.lang.Object
BlockReaderLocal short
circuit read latencies when ShortCircuit read metrics is enabled through
DfsClientConf.ShortCircuitConf.scrMetricsEnabled.| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
BlockReaderIoProvider(DfsClientConf.ShortCircuitConf conf,
BlockReaderLocalMetrics metrics,
org.apache.hadoop.util.Timer timer) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
read(java.nio.channels.FileChannel dataIn,
java.nio.ByteBuffer dst,
long position) |
public BlockReaderIoProvider(@Nullable
DfsClientConf.ShortCircuitConf conf,
BlockReaderLocalMetrics metrics,
org.apache.hadoop.util.Timer timer)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.