| 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 and Description | 
|---|---|
abstract ReplicaAccessorBuilder | 
ReplicaAccessorBuilder.setAllowShortCircuitReads(boolean allowShortCircuit)
Set whether short-circuit is enabled. 
 | 
abstract ReplicaAccessorBuilder | 
ReplicaAccessorBuilder.setBlock(long blockId,
        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(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(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 and Description | 
|---|---|
List<Class<? extends ReplicaAccessorBuilder>> | 
DfsClientConf.getReplicaAccessorBuilderClasses()  | 
Copyright © 2018 Apache Software Foundation. All Rights Reserved.