Uses of Class
org.apache.hadoop.hdfs.server.datanode.CachingStrategy
Packages that use CachingStrategy
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of CachingStrategy in org.apache.hadoop.hdfs
Fields in org.apache.hadoop.hdfs declared as CachingStrategyFields in org.apache.hadoop.hdfs with type parameters of type CachingStrategyModifier and TypeFieldDescriptionprotected final AtomicReference<CachingStrategy>DFSOutputStream.cachingStrategyMethods in org.apache.hadoop.hdfs that return CachingStrategyModifier and TypeMethodDescriptionDFSClient.getDefaultReadCachingStrategy()DFSClient.getDefaultWriteCachingStrategy() -
Uses of CachingStrategy in org.apache.hadoop.hdfs.client.impl
Methods in org.apache.hadoop.hdfs.client.impl with parameters of type CachingStrategyModifier and TypeMethodDescriptionstatic BlockReaderBlockReaderRemote.newBlockReader(String file, ExtendedBlock block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, boolean verifyChecksum, String clientName, Peer peer, DatanodeID datanodeID, PeerCache peerCache, CachingStrategy cachingStrategy, int networkDistance, org.apache.hadoop.conf.Configuration configuration) Create a new BlockReader specifically to satisfy a read.BlockReaderFactory.setCachingStrategy(CachingStrategy cachingStrategy) -
Uses of CachingStrategy in org.apache.hadoop.hdfs.protocol.datatransfer
Methods in org.apache.hadoop.hdfs.protocol.datatransfer with parameters of type CachingStrategyModifier and TypeMethodDescriptionvoidDataTransferProtocol.readBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, long blockOffset, long length, boolean sendChecksum, CachingStrategy cachingStrategy) Read a block.voidSender.readBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, long blockOffset, long length, boolean sendChecksum, CachingStrategy cachingStrategy) voidDataTransferProtocol.writeBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, DatanodeInfo source, BlockConstructionStage stage, int pipelineSize, long minBytesRcvd, long maxBytesRcvd, long latestGenerationStamp, org.apache.hadoop.util.DataChecksum requestedChecksum, CachingStrategy cachingStrategy, boolean allowLazyPersist, boolean pinning, boolean[] targetPinnings, String storageID, String[] targetStorageIDs) Write a block to a datanode pipeline.voidSender.writeBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, DatanodeInfo source, BlockConstructionStage stage, int pipelineSize, long minBytesRcvd, long maxBytesRcvd, long latestGenerationStamp, org.apache.hadoop.util.DataChecksum requestedChecksum, CachingStrategy cachingStrategy, boolean allowLazyPersist, boolean pinning, boolean[] targetPinnings, String storageId, String[] targetStorageIds) -
Uses of CachingStrategy in org.apache.hadoop.hdfs.server.datanode
Methods in org.apache.hadoop.hdfs.server.datanode that return CachingStrategyModifier and TypeMethodDescriptionCachingStrategy.Builder.build()static CachingStrategyCachingStrategy.newDefaultStrategy()static CachingStrategyCachingStrategy.newDropBehind()Constructors in org.apache.hadoop.hdfs.server.datanode with parameters of type CachingStrategy