java.lang.Runnablepublic class CosNFileReadTask
extends java.lang.Object
implements java.lang.Runnable
CosNInputStream as an asynchronous task
submitted to the thread pool.
Each task is responsible for reading a part of a large file.
It is used to pre-read the data from COS to accelerate file reading process.| Constructor | Description |
|---|---|
CosNFileReadTask(org.apache.hadoop.conf.Configuration conf,
java.lang.String key,
org.apache.hadoop.fs.cosn.NativeFileSystemStore store,
CosNInputStream.ReadBuffer readBuffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
run() |
public CosNFileReadTask(org.apache.hadoop.conf.Configuration conf,
java.lang.String key,
org.apache.hadoop.fs.cosn.NativeFileSystemStore store,
CosNInputStream.ReadBuffer readBuffer)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.