| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.client.impl |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setAllowShortCircuitReads(boolean allowShortCircuit) |
Set whether short-circuit is enabled.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setBlock(long blockId,
java.lang.String blockPoolId) |
Set the block ID and block pool ID which are being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setBlockAccessToken(byte[] token) |
Set the block access token to use.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setClientName(java.lang.String clientName) |
Set the name of the HDFS client.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setConfiguration(org.apache.hadoop.conf.Configuration conf) |
Set the configuration to use.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setFileName(java.lang.String fileName) |
Set the file name which is being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setGenerationStamp(long genstamp) |
Set the genstamp of the block which is being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setVerifyChecksum(boolean verifyChecksum) |
Set whether checksums must be verified.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setVisibleLength(long visibleLength) |
Set the length of the replica which is visible to this client.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.lang.Class<? extends ReplicaAccessorBuilder>> |
DfsClientConf.getReplicaAccessorBuilderClasses() |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.