Uses of Class
org.apache.hadoop.fs.impl.prefetch.BufferData
Packages that use BufferData
Package
Description
block caching for use in object store clients.
-
Uses of BufferData in org.apache.hadoop.fs.impl.prefetch
Methods in org.apache.hadoop.fs.impl.prefetch that return BufferDataModifier and TypeMethodDescriptionBufferPool.acquire(int blockNumber) Acquires aByteBuffer; blocking if necessary until one becomes available.FilePosition.data()BlockManager.get(int blockNumber) Gets the block having the givenblockNumber.CachingBlockManager.get(int blockNumber) Gets the block having the givenblockNumber.BufferPool.tryAcquire(int blockNumber) Acquires a buffer if one is immediately available.Methods in org.apache.hadoop.fs.impl.prefetch that return types with arguments of type BufferDataMethods in org.apache.hadoop.fs.impl.prefetch with parameters of type BufferDataModifier and TypeMethodDescriptionvoidBlockManager.release(BufferData data) Releases resources allocated to the given block.voidBufferPool.release(BufferData data) Releases a previously acquired resource.voidCachingBlockManager.release(BufferData data) Releases resources allocated to the given block.voidBlockManager.requestCaching(BufferData data) Requests that the given block should be copied to the cache.voidCachingBlockManager.requestCaching(BufferData data) Requests that the given block should be copied to the local cache.voidFilePosition.setData(BufferData bufferData, long startOffset, long readOffset) Associates a buffer with this file.